Mails.ai — Agent Email for Grok
io.github.rolloutsai/mails-agent-email
A real inbox for AI agents: send, receive and thread email, behind a prompt-injection firewall.
client:Grok
transport:stdio
runtime:npm
Install Mails.ai — Agent Email in Grok
.mcp.json (in your project root)
{
"mcpServers": {
"mails-agent-email": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@mailsai/mcp-server"
],
"env": {
"MAILS_API_KEY": "<MAILS_API_KEY>",
"MAILS_BASE_URL": "<MAILS_BASE_URL>"
}
}
}
}
Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs