
e2a — email for AI agents
Gives your AI agent a real email address with full SPF/DKIM verification on incoming mail and HMAC-signed auth headers so you know whether the sender is human or another agent. Exposes tools for sending email (with optional human-in-the-loop approval before it goes out), fetching messages, and managing per-agent inboxes. Built for both cloud webhooks and local WebSocket delivery, so you don't need a public URL to receive mail. The relay handles agent-to-agent SMTP directly and routes agent-to-human mail through your upstream provider. Useful when you want your agent to participate in real email threads with verified sender identity instead of faking From addresses or scraping IMAP.
- GitHub stars
- 157
- tools
- 13
- auth
- Secret needed
- transport
- STDIO, HTTP
- env vars
- 3
- last updated
- May 22, 2026
Tools
13 toolsPublic tool metadata for what this MCP can expose to an agent.
list_messagesInbox: list messages (polling for inbound).
Inbox: list messages (polling for inbound).
No parameter schema in public metadata yet.
get_messageInbox: get a single message.
Inbox: get a single message.
No parameter schema in public metadata yet.
get_attachmentInbox: get an attachment.
Inbox: get an attachment.
No parameter schema in public metadata yet.
list_conversationsInbox: list conversations.
Inbox: list conversations.
No parameter schema in public metadata yet.
get_conversationInbox: get a conversation.
Inbox: get a conversation.
No parameter schema in public metadata yet.
update_message_labelsInbox: update message labels.
Inbox: update message labels.
No parameter schema in public metadata yet.
send_messageOutbound: send a message.
Outbound: send a message.
No parameter schema in public metadata yet.
reply_to_messageOutbound: reply to a message.
Outbound: reply to a message.
No parameter schema in public metadata yet.
forward_messageOutbound: forward a message.
Outbound: forward a message.
No parameter schema in public metadata yet.
list_reviewsHITL review: list reviews.
HITL review: list reviews.
No parameter schema in public metadata yet.
get_reviewHITL review: get a review.
HITL review: get a review.
No parameter schema in public metadata yet.
approve_reviewHITL review: approve a review.
HITL review: approve a review.
No parameter schema in public metadata yet.
reject_reviewHITL review: reject a review.
HITL review: reject a review.
No parameter schema in public metadata yet.
Sponsors
Configuration
E2A_API_KEY*secrete2a API key from https://e2a.dev
E2A_AGENT_EMAILDefault agent inbox (e.g. bot@your-domain.com). Optional — single-agent accounts auto-resolve.
E2A_BASE_URLdefault: https://e2a.devSelf-hosted e2a backend URL. Defaults to https://e2a.dev.
Readme
The open-source email API for applications and AI agents.
Send transactional email and give agents real two-way inboxes, with people in control.
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:
Connect this coding agent to hosted e2a MCP at https://api.e2a.dev/mcp and help me sign in via browser OAuth.
Supports coding agents with remote MCP and browser OAuth. Client setup guide.
Choose how to start
Details
- Repository
- github.com/mnexa-ai/e2a
- Website
- e2a.dev
- Categories
- AI & LLM Tools, Communication & Messaging
- Package
@e2a/mcp-server- Transport
- STDIO, HTTP
- Auth
- Required
- Registry
- MCP registry, active