Mails.ai — Agent Email for Cursor
io.github.rolloutsai/mails-agent-email
A real inbox for AI agents: send, receive and thread email, behind a prompt-injection firewall.
client:Cursor
transport:stdio
runtime:npm
Install Mails.ai — Agent Email in Cursor
~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json
{
"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>"
}
}
}
}
Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs