Email MCP servers compared: pick by whose mailbox it opens
The best email MCP server depends on the mailbox. For an agent's own address, use a hosted agent inbox such as AgentMail, MachineMail or Trotta Mail. For your Gmail, use Google's Gmail MCP server. For Microsoft 365, Work IQ MCP. Fastmail runs its own. For other IMAP accounts, a local open source server.
Updated
We run one of these servers, Trotta Mail, and tested that one. The rest is as each vendor documented it on 2026-12-03.
Which MCP servers give an agent its own inbox?
| Server | Address | Sign-in | Tools |
|---|---|---|---|
| AgentMail | https://mcp.agentmail.to/mcp | OAuth or key | 47 |
| Atomic Mail | https://mcp.atomicmail.ai/mcp | OAuth or key | 16 |
| Dead Simple Email | https://api.deadsimple.email/mcp | OAuth or key | 26 |
| Inkbox | https://inkbox.ai/mcp | OAuth or key | Not stated |
| Lumbox | https://mcp.lumbox.co/mcp | Key | 57 |
| MachineMail | https://mcp.machinemail.dev/mcp | OAuth or key | 18 |
| Nylas | https://mcp.us.nylas.com | Sign-in or key | 38 |
| OpenMail | https://mcp.openmail.sh/mcp | OAuth or key | Not stated |
| Primitive | https://www.primitive.dev/mcp | OAuth or key | 14 |
| Robotomail | https://robotomail.com/mcp | OAuth | 6 |
| Trotta Mail | https://api.trotta.email/mcp | OAuth or key | 15 |
| Zurchin | https://zurchin.com/mcp | OAuth or key | 57 |
More tools can mean more of your model's context spent before the first email. Zoho AgentInbox has a server too, at an address that varies by data centre.
Which MCP server connects your existing mailbox?
| Server | Mailbox | Address or command | Know this |
|---|---|---|---|
| Gmail MCP, by Google | Gmail, Workspace | https://gmailmcp.googleapis.com/mcp/v1 | Generally available. You register an OAuth client. |
| Work IQ MCP, by Microsoft | Microsoft 365 | See Microsoft Learn | Ten generic tools. Billed in Copilot Credits. |
| Fastmail | Fastmail | https://api.fastmail.com/mcp | Read-only, write or send access. |
| Hostinger | Hostinger Email | https://mcp.mail.hostinger.com/mcp | Tokens can be limited to chosen mailboxes. |
| mcp-email-server, community | IMAP and SMTP accounts | uvx mcp-email-server@latest stdio | Runs locally and holds the account's password. |
Which email MCP servers are for sending?
| Server | Address or package | Notes |
|---|---|---|
| Resend | https://mcp.resend.com/mcp | Sending and received mail. Inboxes on the hosted server only. |
| Mailtrap | mcp-mailtrap, local | Over 130 tools: sending, testing, inbound. |
| Postmark | @activecampaign/postmark-mcp, local | 24 tools for sending and delivery checks. |
| Mailgun | @mailgun/mcp-server, local | No hosted version. |
| Cloudflare | https://mcp.cloudflare.com/mcp | The whole account API, email sending included. |
Which email MCP server is safest?
Reading mail over MCP puts a stranger's words into your agent's context. No server removes that risk. This is what some say they do about it.
| Server | Safeguard its docs describe |
|---|---|
| Trotta Mail | Mail screened before delivery. Held mail shows a key no content. By default sends are marked so your client asks first, which not every client does. |
| MachineMail | Cleaned message text. Quarantined content withheld. |
| Zurchin | Cleaned text by default. Keys cannot read held mail. |
| Gmail MCP | Approval prompts for sends. Google says you must screen for prompt injection. |
| Nylas | A confirm call before each send. |
| OpenMail | Read-only and single-inbox addresses. |
| AgentMail | Optional Agent Armor scan, in Labs. Spam left out of lists. |
| Robotomail | Sending is immediate. Its guide says to treat mail as untrusted. |
- Give the agent a key for one inbox, not the whole account.
- Keep sends behind approval until you trust the loop.
- Install local servers from the vendor's own docs. In 2025 a fake
postmark-mcpnpm package secretly copied mail to an outside server. - Do not give one agent private data, strangers' mail and a way out. That is the lethal trifecta.
How do you connect an email MCP server?
A hosted server needs its address and a sign-in or key. These are the Trotta Mail commands. Other vendors differ in header names: AgentMail, for one, takes x-api-key.
# Claude Code, signing in through the browser
claude mcp add --transport http trotta https://api.trotta.email/ mcp
claude mcp login trotta
# Or Claude Code with a key (use one of the two)
claude mcp add --transport http trotta https://api.trotta.email/ mcp \
--header "Authorization: Bearer $TROTTA_MAIL_API_KEY"
# Codex, reading the key from your environment
codex mcp add trotta --url https://api.trotta.email/ mcp \
--bearer-token-env-var TROTTA_MAIL_API_KEY{
"mcpServers": {
"trotta": { "url": "https://api.trotta.email/ mcp" }
}
}A browser sign-in cannot create inboxes or release held mail. To let an agent create inboxes, use an API key allowed to, such as the one agent sign-up returns. Trotta Mail has no IMAP, so it will not open a mailbox you keep elsewhere.
Questions
What is an email MCP server?
A server that gives an AI assistant email tools, such as list, read, wait, reply and send, over the Model Context Protocol. It opens either the agent's own mailbox or yours.
Is there an official Gmail MCP server?
Yes. Google announced its Workspace MCP servers, Gmail included, as generally available on November 24, 2026. Its tools can read, draft and send.
Is there an official Outlook MCP server?
Microsoft points new projects to Work IQ MCP, which covers Microsoft 365 mail. It says the older Mail server is for backward compatibility.
Which email MCP server needs no account to start?
On Trotta Mail an agent can sign itself up and then use its key, with limits until a human claims it. Atomic Mail's local server registers an inbox itself, and MachineMail and Primitive document agent sign-up too.
Sources
- AgentMail docs: MCP
- AgentMail docs: Agent Armor
- AgentMail docs: Spam and virus detection
- Atomic Mail docs: hosted MCP server
- Atomic Mail on GitHub (local MCP server)
- Dead Simple Email: MCP server
- Inkbox docs: MCP server
- Lumbox docs: MCP server
- MachineMail docs: MCP server
- Nylas docs: MCP server
- OpenMail docs: MCP server
- Primitive MCP server card (tool list)
- Primitive llms.txt
- Robotomail docs: MCP
- Robotomail docs: Agent email security
- Zurchin docs: SDKs, CLI and MCP
- Zurchin docs: Email and the Firewall
- Zoho AgentInbox: MCP client setup
- Google: Configure the Gmail MCP server
- Google: Gmail MCP tool reference
- Google Workspace Updates: Workspace MCP servers and CLI (November 24, 2026)
- Microsoft Learn: Work IQ MCP overview
- Microsoft Learn: Work IQ API overview (billing)
- Microsoft Learn: Agent 365 tooling servers
- Fastmail help: Connecting AI tools via the MCP server
- Hostinger docs: Agentic Mail
- mcp-email-server on GitHub
- Resend docs: MCP server
- Mailtrap: Email MCP server
- Postmark MCP server on GitHub
- Postmark: the malicious postmark-mcp package
- Mailgun MCP server on GitHub
- Cloudflare: its own MCP servers
- Cloudflare Blog: Email for agents
- Trotta Mail API summary for agents