# Openmail > An email API that gives AI agents their own dedicated email addresses, enabling two-way communication, real threading, and attachment parsing for autonomous workflows. OpenMail is an email API built specifically for AI agents, providing each agent with a dedicated inbox provisioned via a single CLI command or API call. Unlike traditional email APIs designed for newsletter blasting, OpenMail enables two-way threaded communication, real-time delivery via webhooks or WebSocket, and automatic attachment parsing into LLM-ready text. It integrates with popular agent frameworks like LangChain, n8n, Make, and Vercel AI SDK, and is built and hosted in the EU with GDPR compliance by default. - **Instant inbox provisioning** — *Run `openmail setup` or make one API call to create a dedicated inbox with a real email address for your agent.* - **Real-time inbound delivery** — *Choose webhooks or WebSocket to receive parsed, prioritized email data the moment it arrives, with no polling required.* - **Two-way threading** — *Replies stay in context; customers reply in their own email client and the agent receives the full thread without any new UI.* - **One inbox per agent** — *Each agent gets its own identity — no shared inboxes, no forwarding — supporting multiple agents per account.* - **RAG-ready attachment parsing** — *PDFs, CSVs, images, DOCX, XLSX, and more are automatically extracted and converted to LLM-ready text.* - **Custom domains** — *Assign custom sending domains to agents for branded, deliverable email identity.* - **DKIM, SPF, DMARC** — *Full email authentication stack included across all plans for reliable deliverability.* - **Signup automation support** — *Agents can handle OTP codes, verification emails, and 2FA flows end-to-end without human intervention.* - **CLI and API access** — *Install the `@openmail/cli` npm package globally, run `openmail setup`, and start sending within minutes.* - **EU-based infrastructure** — *All data is processed and stored in the EU, with GDPR as a legal guarantee, not just a checkbox.* ## Features - Dedicated email address per AI agent - Instant inbox provisioning via CLI or API - Webhooks and WebSocket for real-time inbound email - Two-way email threading - Automatic attachment parsing (PDF, CSV, DOCX, XLSX, images) - Custom domains - DKIM, SPF, DMARC authentication - Spam filtering - Suppression list - Dedicated IP pool - RAG-ready text extraction from attachments - Signup automation (OTP, 2FA handling) - AI support inbox use case - Document processing use case - EU-based hosting - GDPR compliance - 99.9% uptime SLA ## Integrations OpenClaw, LangChain, n8n, Make, Vercel AI SDK ## Platforms WEB, API, CLI ## Pricing Freemium — Free tier available with paid upgrades ## Links - Website: https://www.openmail.sh/ - Documentation: https://docs.openmail.sh/ - Repository: https://www.npmjs.com/package/@openmail/cli - EveryDev.ai: https://www.everydev.ai/tools/openmail