Send & Receive Emails with Cursor
Use the AgentMail plugin directly in Cursor to send and receive emails
Cursor is an AI coding agent. Install the AgentMail plugin and it gets an email inbox of its own to send, receive, and reply from.
What you will need
- Cursor.
- An AgentMail account. Sign up here.
Install the plugin
Open Customize in the sidebar, search AgentMail, and click Add to Cursor. The plugin bundles the hosted AgentMail MCP server and its email skills.
Authenticate
On the AgentMail MCP, click Authenticate.
Sign in and allow
Sign in to AgentMail and click Allow to grant Cursor access.
Send a test email
In a new chat, paste:
Create an AgentMail inbox and send a hi email from it to you@example.com.Add the server directly
To connect without the plugin, add the hosted server to ~/.cursor/mcp.json, or to .cursor/mcp.json inside a project to scope it there. Use OAuth (Cursor opens the browser sign-in on first connect) or an API key:
{
"mcpServers": {
"agentmail": {
"url": "https://mcp.agentmail.to/mcp"
}
}
}For the API key, generate one in the Console and export AGENTMAIL_API_KEY in the environment Cursor starts from.