Mails.ai — Agent Email
MCP server that gives AI agents real inboxes with send, receive and injection scanning
- Pricing
- Freemium
- Platforms
- API, CLI
- Runs
- Locally or Remotely
- Version
- 0.5.0
- Listing updated
- 1 day ago
About Mails.ai — Agent Email
Mails.ai — Agent Email is a freemium MCP server for communication. It can run locally on your machine or as a hosted remote server.
Mails.ai gives each agent its own address that can send, receive and thread mail through an SDK, REST API or MCP. Incoming messages are scored for prompt injection across six kinds, and high-risk ones arrive flagged as quarantined so an agent can avoid them. Replies come as signed webhooks or a live stream with the sender's reputation attached, and codes and magic links in sign-in emails are pulled into their own fields.
A test key exercises the API without sending real mail, and reply@test.mails.ai answers within about a second, up to three times per thread. Sending safeguards include per-agent allowlists and caps, suppression checks at send time and automatic pausing when a sender's complaint rate reaches 0.3%.
The npm package @mailsai/mcp-server runs over stdio with an API key, or a hosted Streamable HTTP endpoint is available. Paid plans can send from your own domain.
Install
Run in a terminal
claude mcp add --transport http agent-email https://api.mails.ai/mcpAdd to Settings → Connectors → Add custom connector
https://api.mails.ai/mcpAdd to ~/.cursor/mcp.json
{
"mcpServers": {
"agent-email": {
"url": "https://api.mails.ai/mcp"
}
}
}Add to .vscode/mcp.json
{
"servers": {
"agent-email": {
"type": "http",
"url": "https://api.mails.ai/mcp"
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"agent-email": {
"serverUrl": "https://api.mails.ai/mcp"
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"agent-email": {
"type": "http",
"url": "https://api.mails.ai/mcp"
}
}
}Configuration
MAILS_API_KEYYour mails.ai API key. Use an mk_test_ key to run against the sandbox or an mk_live_ key to send real mail. Free key at https://mails.aiRequiredMAILS_BASE_URLOverride the API base URL. Defaults to the hosted mails.ai API; only needed for staging or self-hosted deployments.
What it does
- Per-agent inboxes
- Each agent has its own address and threaded history.
- Injection scanning
- Inbound mail is scored and high-risk messages are quarantined.
- Test mode
- Test keys run without real mail or billing.
- Sign-in code extraction
- Codes and magic links arrive in separate fields.
- Drafts and scheduling
- Messages can wait as drafts or send at a set time.
- Sender safeguards
- Allowlists, caps, suppression and complaint auto-pause.
Good for
- Give a support agent its own address
- Run end-to-end sign-up tests that wait for the emailed code
- Let an agent draft replies for a person to approve
- Keep a prompt-injected email away from the model
Pricing
Freemium, from $20 a month
Free 3,000 emails/month; Pro $20/mo; Scale $99/mo
Prices change. Check mails.ai before you buy.
Mails.ai — Agent Email FAQ
Is there a free plan?
Yes: $0 with 3,000 emails and 3,000 inbound replies a month, one agent and the MCP server.
Can I send from my own domain?
Yes on paid plans, by adding DKIM, SPF and DMARC records.
How do I try it safely?
Use an mk_test_ key and the reply@test.mails.ai address.
What does Pro cost?
$20 a month for 50K emails and 5 agents; Scale is $99 a month.
Is Mails.ai — Agent Email free?
Mails.ai — Agent Email has a free plan, with paid plans for more usage or features. Paid plans start at $20 a month.
How do I add Mails.ai — Agent Email to Claude Code?
Run this command in your terminal: claude mcp add --transport http agent-email https://api.mails.ai/mcp
What are the best alternatives to Mails.ai — Agent Email?
The closest alternatives to Mails.ai — Agent Email are REA, Agent Roast, Midplane, Leash and Tinplate Edge AI Safety, Security & EU Compliance.
Alternatives to Mails.ai — Agent Email

REA
MCP serverCLI and MCP server that lets coding agents reverse engineer apps and binaries
Runs locally- Open source
- 464K GitHub stars
- Developer tools
Agent Roast
MCP serverOffline review that flags agent changes which weaken tests, assertions or CI
Runs locally- Open source
- 4 Hacker News points
- Developer tools

Midplane
MCP serverPostgres gateway for AI agents with table grants, column masking and approval for writes
Runs locally- Open source
- 5 GitHub stars
- Databases

Leash
MCP serverReview what your AI touched, approve risky actions and undo supported changes
- 1 tool
- Remote
- Free
- 1 GitHub star
- Security
Zero-log MCP server with 49 tools for AI guardrails, secret scanning and EU compliance
- 49 tools
- Remote
- Freemium
- Security

SecureCloud
MCP serverSentinelOne and IT security catalog, prices, quotes and checkout links for Israel
- 7 tools
- Remote
- Free
- Security