Skip to main content
MCP server CX Codex

e2a — email for AI agents — Claude Code MCP server

Provides dedicated email inboxes for AI agents to inspect, dispatch, and track mail threads. Useful when an agent requires its own address with human review safeguards.

Install into Claude Code · Platform CLI: remote server All methods and platforms ↓
claude mcp add --transport http mcp-server https://api.e2a.dev/mcp
Open on GitHub

What e2a — email for AI agents does

The integration connects to a hosted Streamable HTTP endpoint at https://api.e2a.dev/mcp. Authentication relies on an API token sent in the Authorization: Bearer <e2a API key> header or an interactive OAuth 2.1 browser flow. Available tools depend on the credential scope: individual agent tokens unlock 21 runtime operations for inbox handling, while account tokens grant access to all 80 tools for domain configuration, suppression lists, and webhooks.

Incoming messages arrive via HMAC-signed webhooks or polling through list_messages. Agents maintain existing conversations using reply_to_message to keep mail headers intact. Without a verified custom domain or operator clearance, dispatching messages to third-party recipients fails immediately with a 403 external_sending_not_enabled error.

What it helps with

  • provision dedicated email inboxes for autonomous coding agents
  • reply to ongoing email threads while preserving message headers
  • hold outgoing messages for account owner review before delivery
  • receive inbound message alerts via cryptographically signed webhooks

Example prompts for the agent

  • Check for recent unread emails using list_messages.
  • Reply to the latest conversation thread using reply_to_message.
  • Inspect current sending limits and account identity with whoami.

How to install e2a — email for AI agents

Platform CLI: remote server

claude mcp add --transport http mcp-server https://api.e2a.dev/mcp

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about e2a — email for AI agents

How to install e2a — email for AI agents in Claude Code?

Run claude mcp add --transport http mcp-server https://api.e2a.dev/mcp in your terminal. Provide your dashboard access token in the authorization header when connecting.

What is the difference between agent and account credential scopes?

Agent credentials only expose 21 operational actions for reading and drafting messages. Account-level keys provide 80 tools that cover domain setup, webhook management, and outbound message approvals.

Why does external email dispatch trigger a 403 status?

The hosted endpoint restricts sending to outside recipients until the account configures a verified custom domain or receives operator approval. Calls violating this rule fail with external_sending_not_enabled.

Similar MCP servers

All MCP servers for Agent setup: memory, context, orchestration →

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor