Mails.ai — Agent Email
A real inbox for AI agents: send, receive and thread email, behind a prompt-injection firewall.
Install
Add this to your client's MCP configuration (Claude Desktop: claude_desktop_config.json; Cursor: .cursor/mcp.json; VS Code and others use the same "mcpServers" shape).
claude mcp add --transport http mails-ai-agent-email 'https://api.mails.ai/mcp'
{
"mcpServers": {
"mails-ai-agent-email": {
"type": "http",
"url": "https://api.mails.ai/mcp"
}
}
}
@mailsai/mcp-serverclaude mcp add mails-ai-agent-email -e 'MAILS_API_KEY=<your mails_api_key>' -e 'MAILS_BASE_URL=<MAILS_BASE_URL>' -- npx -y @mailsai/mcp-server@0.5.0
{
"mcpServers": {
"mails-ai-agent-email": {
"command": "npx",
"args": [
"-y",
"@mailsai/mcp-server@0.5.0"
],
"env": {
"MAILS_API_KEY": "<your mails_api_key>",
"MAILS_BASE_URL": "<MAILS_BASE_URL>"
}
}
}
}
Environment variables
MAILS_API_KEYrequired secret Your 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.aiMAILS_BASE_URLOverride the API base URL. Defaults to the hosted mails.ai API; only needed for staging or self-hosted deployments.
Frequently asked questions
What is Mails.ai — Agent Email?
A real inbox for AI agents: send, receive and thread email, behind a prompt-injection firewall.
How do I install Mails.ai — Agent Email?
It runs as a remote server. In Claude Code: claude mcp add --transport http mails-ai-agent-email 'https://api.mails.ai/mcp'. For other clients, paste the JSON configuration from this page into their MCP settings.
Does Mails.ai — Agent Email need an API key?
Yes. It expects MAILS_API_KEY, which you set in its configuration.
Who maintains Mails.ai — Agent Email?
It is published by ai.mails. AI.tn lists it but does not maintain or endorse it.
From the official MCP Registry. Listing is not an endorsement: review a server's code and permissions before giving it access to your data.