AgentMail
Email inboxes for AI agents: send, receive, and read messages with webhooks and spam filtering.
- CCM score
- 76 of 100
- GitHub stars
- 5
- tools
- 8
- auth
- Secret needed
- transport
- HTTP
- last updated
- Nov 26, 2026
Own this MCP server? Claim it
What it does
- Reads mail with
list_messages,get_message,get_mailbox, andget_attachment_url, returning full text and HTML bodies plus 1-hour signed attachment links - Sends with
send_email, which screens outbound mail in real time for spam and phishing before delivery - Manages real-time inbound alerts with
create_webhook,list_webhooks, anddelete_webhookforemail.receivedevents over HTTPS - Connects over remote Streamable HTTP with a Bearer key from your org dashboard, so no local install is needed. Mailboxes cost $1 per month, with the first free for 30 days
- Designed for agents that need their own address for notifications, deploy alerts, or handling inbound email on your own domain
Install
$ npx -y add-mcp https://api.theagentmail.net/mcp --name agentmail --header 'Authorization: Bearer ${API_TOKEN}'Adds the server to every agent config it finds in this project. add-mcp asks for each value it needs.
Review the command, arguments and environment values before installing. MCP servers run with your local permissions.
Other ways
Claude Code
$ claude mcp add --transport http agentmail https://api.theagentmail.net/mcp --header 'Authorization: YOUR_AUTHORIZATION'Run in your terminal. Add --scope user to make it available in every project.
Tools
Verified live · 8 toolsVerified live against the running server on Nov 27, 2026.
get_mailboxGet mailbox address, status, expiration, and send count.
Get mailbox address, status, expiration, and send count.
No parameters. Call it with no arguments.
list_messagesList recent inbound and outbound messages for the mailbox, newest first.
List recent inbound and outbound messages for the mailbox, newest first.
No parameters. Call it with no arguments.
get_messageRead a single email message including full text/HTML body and attachment metadata.1 params
Read a single email message including full text/HTML body and attachment metadata.
messageId*stringsend_emailSend an email from the agent mailbox (outbound mail is scanned in real time for spam/phishing).8 params
Send an email from the agent mailbox (outbound mail is scanned in real time for spam/phishing).
bccarrayccarrayhtmlstringinReplyTostringreferencesstringsubject*stringtext*stringto*arrayget_attachment_urlGet a 1-hour signed download URL for a message attachment.2 params
Get a 1-hour signed download URL for a message attachment.
attachmentId*stringmessageId*stringlist_webhooksList inbound email webhook subscriptions for the mailbox.
List inbound email webhook subscriptions for the mailbox.
No parameters. Call it with no arguments.
create_webhookRegister an HTTPS webhook URL for real-time email.received events.1 params
Register an HTTPS webhook URL for real-time email.received events.
url*stringdelete_webhookDelete a webhook subscription by ID.1 params
Delete a webhook subscription by ID.
webhookId*stringReadme
AgentMail (theagentmail.net)
Open-source (MIT) email infrastructure for AI agents. Give every agent its own
@theagentmail.net mailbox with sending, receiving, real-time webhooks,
attachments, and a real-time AI spam/phishing guard — $1/month per mailbox
(first mailbox free for 30 days) or self-host on Cloudflare Workers.
- Hosted app: https://theagentmail.net
- Remote MCP Server:
https://api.theagentmail.net/mcp(Streamable HTTP, zero local setup) - API Docs: https://theagentmail.net/docs
- LLM / Agent Docs: https://theagentmail.net/llms.txt
- Pricing: https://theagentmail.net/pricing
- Comparison vs agentmail.to & DIY: https://theagentmail.net/compare
Why AgentMail?
Details
- Repository
- github.com/uriva/agentmail
- Website
- theagentmail.net
- Categories
- Email & Messaging, AI Agents & LLM Apps
- Transport
- HTTP
- Auth
- Required
- Registry
- MCP registry, active
- Tools verified
- Nov 27, 2026
Questions
What can an agent do with the AgentMail MCP server?
The AgentMail server gives an agent its own email mailbox to read and send mail. Its eight tools cover reading the mailbox, listing and reading messages, sending email, fetching attachment download URLs, and managing webhooks for real-time email.received events.
How do I install the AgentMail MCP server in Claude Code?
Run this command in a terminal: claude mcp add --transport http agentmail https://api.theagentmail.net/mcp --header 'Authorization: YOUR_AUTHORIZATION'. The Authorization header takes your AgentMail API key, which is required and kept secret.
Where does AgentMail rank in the Email and Messaging category?
AgentMail ranks in the top 100 on the Email and Messaging category page of Claude Marketplaces. Other servers in this category include Agent-Native Dispatch, WhatsApp, MoeMail, Slack and Commonly.
Does AgentMail scan outbound email for spam?
Yes, outbound mail sent with the send_email tool is scanned in real time for spam and phishing. The server is open source under the MIT license.
Similar to AgentMail
More Email & MessagingMulti-workspace Slack MCP server with draft+confirm safety, vault auto-export, aadelaidasofia/slack-mcp3 starsMulti-workspace Slack MCP server with draft+confirm safety, vault auto-export, and triple-mode…
Elastic Email MCP Serverelasticemail/elasticemail-mcp-server3 starsSend emails and manage contacts, lists, segments, templates and campaigns in Elastic Email.
SendSevensendseven-gmbh/sendseven-mcp-server2 starsUnified messaging MCP server: WhatsApp, Instagram, Telegram, SMS, Messenger & email support inbox
joinfor.mepattern-ai-labs/joinforme2 starsSend a bot to your Google Meet, Zoom or Teams call for notes or your update; get the transcript.
AddSynapse Roomssakkoulasgiannis/addsynapse-rooms1 starRooms where Claude, ChatGPT and other AI agents talk to each other and to people. Free to start.
Mcp Telegram Botdaedalus/mcp-telegram-bot1 starMCP server that exposes a Telegram bot