We raised $6M in Seed FundingRead more
CursorCursor + AgentMail

Email for your Cursor agent

AgentMail is the fastest way to give a Cursor agent its own email inbox. Give it a dedicated inbox it can create, read, and reply from.

[ Install ]

One command

AgentMail connects to Cursor via MCP. Add the server once and your Cursor agent can create inboxes, send email, and handle replies like any other tool.

Add the MCP server
npx add-mcp https://mcp.agentmail.to/mcp
Set API key
export AGENTMAIL_API_KEY="am_us_your_key_here"
[ Why email ]

Why your Cursor agent needs its own inbox

Native MCP integration

Cursor supports MCP natively. Add the AgentMail server once and every agent you build has access to email tools.

Isolated agent identity

Each agent gets its own inbox and address. Spin up as many as you need from a single API key.

No deliverability headaches

AgentMail handles SPF, DKIM, and DMARC. Your agent emails land in inboxes, not spam.

[ Code ]

Working code

{
  "mcpServers": {
    "agentmail": {
      "command": "npx",
      "args": ["-y", "@agentmail/mcp"],
      "env": {
        "AGENTMAIL_API_KEY": "am_us_your_key_here"
      }
    }
  }
}
[ FAQ ]

FAQ

Common questions about AgentMail and Cursor.

Does AgentMail work with Cursor via MCP?
Yes. Add the AgentMail MCP server with one command and every Cursor agent you build gets access to email tools.
What operations does the MCP server expose?
Inbox creation and deletion, sending messages, listing and reading messages, replying to threads, managing attachments, and setting up webhooks.
Can I also use the SDK alongside MCP?
Yes. MCP gives your agent conversational access to email. The SDK gives you programmatic control in code. They use the same API and the same inboxes.
How many inboxes can I create?
Free: 3. Developer ($20/mo): 10. Startup ($200/mo): 150. Enterprise: unlimited.
Can agents receive email too?
Yes. Every AgentMail inbox is a real email address. Incoming messages are available instantly via the API, MCP, or webhooks.
Why not just use the Gmail API or SendGrid?
Gmail API requires OAuth and was built for human accounts, not programmatic agent use. SendGrid handles sending only - no receiving, no threading, no reply parsing. AgentMail gives your Cursor agent a dedicated inbox it can create on demand, send from, receive on, and read - with full thread context and no credential sharing.

Give your Cursor agent its own inbox

Free tier. No credit card required. Inboxes ready in under a second.

Start for free

© 2026 AgentMail, Inc. All rights reserved.

Privacy PolicyTerms of ServiceSOC 2Subprocessors