AgentMail

Give an AI agent its own inbox for replies, attachments, and automated follow-up. Connect through hosted MCP or use the API from your app.

Email & Messaging:
Agent interfaces:
Hosted MCP, REST API, CLI, Python and TypeScript SDKs, and webhooks
What the agent can do:
List or create inboxes, read threads, prepare drafts, and send replies. For event-driven workflows, use inbound webhooks or a client that supports MCP Events.
Quickstart or copyable command:
Connect my AgentMail workspace to Claude Code. If it is not already configured, run: claude mcp add --transport http agentmail https://mcp.agentmail.to/mcp Ask me to complete AgentMail’s OAuth sign-in and choose the intended organization. Then call list_inboxes and report whether the connection works. Stop before creating an inbox, reading messages, or sending mail.
Share on:

AgentMail gives your AI agent a dedicated email address with an inbox it can access through an API or MCP. It makes sense when replies need to come back into the workflow, such as an intake agent that tracks attachments and follows up in the same thread.

Set up AgentMail in Claude Code

Use the hosted MCP server and sign in to the intended AgentMail organization. This first check only lists inboxes.

Connect my AgentMail workspace to Claude Code. If it is not already configured, run:
claude mcp add --transport http agentmail https://mcp.agentmail.to/mcp
Ask me to complete AgentMail’s OAuth sign-in and choose the intended organization. Then call list_inboxes and report whether the connection works. Stop before creating an inbox, reading messages, or sending mail.

A list or an empty result means the account can answer the request. If it is the wrong organization, redo authorization before looking up messages. For Cursor or another API-key client, the MCP guide shows how to supply the key in an HTTP header. Keep the key in your local secret store.

What can an agent do with AgentMail?

  • Set up an address. Create an inbox for a specific workflow or customer.
  • Handle a conversation. Read threads, retrieve attachments, prepare drafts, or send a reply.
  • React to incoming email. Use webhooks in your app, or MCP Events in a client that supports them. A useful first workflow is to create one test inbox, send it a harmless message from an address you control, then ask the agent to find and summarize that message. Use scoped API keys when the workflow only needs one inbox or pod.

Is AgentMail free, and what are the alternatives?

The free tier lists three inboxes. The Developer plan is listed at $20 per month and includes custom domains. The vendor publishes separate daily and plan limits, so check its rate-limit documentation before designing a high-volume workflow. Resend Inbound is worth comparing when you mainly need received mail to trigger events in your existing application. Evidence: AgentTools checked the vendor’s MCP, authentication, and pricing documentation on November 9, 2026. The recipe was not run against a connected mailbox.

AgentTools

Discover software your AI agent can use, with practical setup guides.

© 2026 AgentTools