E2a — email for AI agents logo

E2a — email for AI agents

Give AI agents authenticated email inboxes, two-way messaging, threaded replies, and optional human approval.

Install E2a — email for AI agents

Pick your client, then add it in one click or paste the config.

STDIOPython
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "e2a-email-for-ai-agents": {
      "command": "uvx",
      "args": [
        "e2a"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Claude Code command
claude mcp add --transport stdio e2a-email-for-ai-agents -- uvx e2a

Run in your terminal. Add --scope project to share it with your team through .mcp.json.

We couldn’t confirm it starts correctly

We hit an unexpected error while testing this listing automatically.

uvx e2a

Rate limit exceeded, please try again later - you have reached the maximum number of concurrent E2B sandboxes (20). If you need more, please visit 'https://e2b.dev/docs/billing'

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

e2a — email for AI agents connects MCP-capable agents to hosted or self-hosted email infrastructure with per-agent inboxes and two-way messaging. Its hosted MCP endpoint uses browser OAuth, while self-hosted deployments run with Docker and can use the same core features. Agents can list messages, send email, reply in threads, and route outbound mail through an optional human approval queue. Reach for it when an agent needs persistent email conversations, authenticated inbound mail, or controlled communication with people and other agents.

Use cases

  • Build an AI support agent that triages requests and holds sensitive replies for approval
  • Coordinate appointments and preserve scheduling state across email replies
  • Qualify sales inquiries and send personalized follow-ups
  • Manage recruiting conversations and interview coordination in one thread
  • Send transactional email and maintain persistent customer conversations

Key features

  • Hosted MCP endpoint with browser OAuth
  • Per-agent inboxes and two-way email
  • SPF, DKIM, and DMARC evidence on inbound mail
  • Optional human approval for outbound messages
  • Self-hosted Docker deployment
  • Webhooks, WebSockets, REST, SDK, and CLI access

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

35/35 checks healthy over the last 111d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 16d ago via OSV.dev · e2a (PyPI)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars201Stargazers on the source repository.
Last commitTodayMost recent push to the default branch.
Install checkInconclusiveWe hit an unexpected error running the automated check.
Directory activity3 viewsConfig copies, upvotes, and views on AllMCPs.

How E2a — email for AI agents works

What e2a — email for AI agents does

e2a provides an email interface for applications and AI agents. Through MCP, an agent can work with an inbox, read incoming messages, send outbound mail, and reply to existing conversations. The service supports real two-way email rather than one-way notification delivery, making it suitable for support, scheduling, sales, recruiting, procurement, and other workflows that continue across multiple messages.

Inbound messages include structured SPF, DKIM, and DMARC evidence, including an aligned DMARC result. Outbound delivery can use an SMTP relay for agent-to-agent mail or upstream SMTP providers such as SES and Resend for messages to people.

An optional human-in-the-loop gate holds outbound messages until someone approves them. Reviews can happen through the dashboard, a magic-link email, MCP tools, or the API. Self-hosted deployments also support opt-in content screening for prompt-injection indicators and, with the LLM detector, phishing; results are routed to allow, review, or block outcomes.

How it works

The hosted MCP endpoint is https://api.e2a.dev/mcp. MCP-aware clients connect to that URL, and the first tool use starts browser-based OAuth. The e2a plugin can register the hosted server and an agent skill for clients that support plugins. Cursor can configure the endpoint in .cursor/mcp.json, while other supported clients can use client-specific MCP configuration files.

Hosted e2a includes the shared agents.e2a.dev domain for slug-based onboarding, along with a dashboard and managed email delivery. Self-hosting runs the stack with Docker. A self-hosted installation can use a mail domain pointed at its relay and configure the shared domain in config.yaml.

MCP is one integration path. Applications can also use the TypeScript @e2a/sdk or Python e2a client, webhooks, WebSockets, REST polling, or the e2a CLI. The SDKs include webhook verification and a WebSocket listen() stream; the CLI can forward inbound mail to a local HTTP handler.

Setup and configuration

For the hosted service, create an account at e2a.dev and connect the agent to the hosted MCP endpoint. Claude Code can install the e2a plugin from the Token Canopy marketplace, and Codex can add the marketplace and install e2a from its plugin interface. Cursor and other MCP clients can connect directly to the endpoint and authorize in a browser.

Self-hosting is available through Docker and uses the project’s deployment configuration. The shared-domain shortcut requires pointing a mail domain at the relay and setting shared_domain in config.yaml. Hosted and self-hosted deployments expose nearly the same feature set, except content screening is currently available only when self-hosted.

Tools and capabilities

  • Manage per-agent inboxes through MCP.
  • List messages with structured authentication evidence.
  • Send messages and reply within existing email conversations.
  • Hold outbound messages for human approval before delivery.
  • Use standards-compliant reply headers and optional beta thread_id metadata.
  • Render reusable beta email templates with {{variable}} values at send time.
  • Schedule sends, replies, and forwards up to 90 days ahead and cancel them before submission.
  • Manage beta contacts and outreach state, including bulk import and due-queue notifications.

Limitations and notes

The hosted service requires browser OAuth on first use rather than an API key pasted into the MCP configuration. Content screening is self-host-only. Email templates, contacts and outreach, and scheduled sending are beta capabilities. The shared-domain onboarding shortcut applies to the hosted setup and requires mail-domain and relay configuration when self-hosting.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about E2a — email for AI agents

e2a — email for AI agents is an MCP server that connects AI agents to hosted or self-hosted email infrastructure. Its main tools let agents list inbox messages, send email, reply to existing conversations, and hold outbound mail for human approval before delivery.

Connect an MCP client to `https://api.e2a.dev/mcp` and authorize through the browser on first use. Claude Code and Codex can install the e2a plugin, while Cursor and other supported clients can add the remote MCP endpoint directly.

Yes, e2a works with Cursor through a remote MCP configuration. Add the hosted endpoint to `.cursor/mcp.json` or the global Cursor configuration, then authorize in the browser when Cursor first calls an e2a tool.

Yes, e2a can be self-hosted with Docker. Configure the deployment and, if using the shared-domain shortcut, point a mail domain at the relay and set `shared_domain` in `config.yaml`. Content screening is available on self-hosted deployments.

Enable the optional human-in-the-loop approval gate to hold outbound messages before delivery. A reviewer can approve them through the dashboard, a magic-link email, MCP tools, or the API.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewE2a — email for AI agents AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/e2a-email-for-ai-agents?style=directory)](https://allmcps.com/mcp/e2a-email-for-ai-agents)
HTML Embed
<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>