Authenticated email gateway for AI agents β per-agent inboxes, HITL approval, SPF/DKIM verified.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Send transactional email and give agents real two-way inboxes, with people in control.
Try hosted e2a β start free β
We run the email infrastructure. You connect your app or agent.
Self-host with Docker Β· Documentation Β· Agent quickstart Β· Examples
A Token Canopy product Β· Apache 2.0
Using a coding agent? Paste this prompt into its chat:
Supports coding agents with remote MCP and browser OAuth. Client setup guide.
agents.e2a.dev domain for instant slug-based onboarding (no DNS setup), a dashboard, the hosted MCP server, and managed deliverability.shared_domain in config.yaml.For application email, start with the transactional email guide. For coding agents, use the prompt above or the setup instructions below.
Give your AI agent an inbox directly. Install the e2a plugin β it registers the hosted MCP server and an operate-well skill, so your agent can send, receive, reply in-thread, and hold mail for review out of the box. On first tool use it runs an OAuth flow in your browser β no API key to paste.
Claude Code
Codex
Then launch codex, run /plugins, and install e2a.
Cursor β add the MCP server directly. Put this in .cursor/mcp.json (or ~/.cursor/mcp.json to get it in every project); Cursor opens your browser to authorize on first use, no API key to paste:
Other MCP clients (Zed, Goose, Windsurf, Claude Desktop, raw mcp.json) β point straight at https://api.e2a.dev/mcp; ready-to-paste configs are in plugins/e2a/clients/. See plugins/e2a/README.md for the full per-client guide.
e2a is the open-source email API for applications and AI agents. Any product can send transactional email over HTTP, TypeScript, or Python; agent-native systems can also use real two-way inboxes. Inbound mail arrives with structured SPF, DKIM, and DMARC evidence, and outbound mail can use an optional human-in-the-loop approval gate. Use the hosted service or run the Apache-2.0 stack yourself. No AI agent or agent framework is required for application-triggered sending.
Four ways to plug an agent in:
https://api.e2a.dev/mcp) and your agent gets an inbox toolset (list_messages, send_message, reply_to_message, β¦). The fastest path for agent frameworks. β MCP server@e2a/sdk) and Python (e2a) clients with one-call webhook verification and a WebSocket listen() stream. β SDKse2a listen bridges inbound mail to a local HTTP handler (including an OpenAI Responses auto-reply mode). β CLIWhat you get on top of bare SMTP:
thread_id metadata on message reads; caller-owned conversation_id remains application correlation{{variable}} templates rendered server-side at send time, plus a pre-built starter catalog β docs/templates.mdcontact.due due-queue notification event β docs/api.mdsend_at on send/reply/forward defers submission up to 90 days ahead; a scheduled send is durable acceptance (status=scheduled) and can be canceled by trashing the message before submissione2a is useful anywhere an AI agent needs a real inbox, persistent email threads, and a safe path from inbound message to outbound action. Start with a complete example:
Factual signals from GitHub, npm, and our automated checks β not a rating.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/e2a-email-for-ai-agents)<a href="https://allmcps.com/mcp/e2a-email-for-ai-agents"><img src="https://allmcps.com/api/badge/e2a-email-for-ai-agents?style=directory" alt="E2a β email for AI agents on AllMCPs" /></a>