How to give an AI agent its own email address
To give your AI agent its own email address, create an inbox through an email API or Mailrun Agent Identities. If you want it to use your existing mailbox, connect that mailbox through a connector instead.
Connect your existing mailbox
Choose a connector when you want your agent to work with the email address you already use. Claude’s Gmail connector maps to your existing mailbox. It supports drafts and asks for approval before actions by default.
This route gives your agent access to your existing mailbox. Access is included with your Claude or ChatGPT plan and existing mailbox.
Decide whether messages should come from your personal address before connecting it. If you need a separate address for the agent, consider an email API or an agent identity.
| Route | Whose address it uses | Cost to start | Setup |
|---|---|---|---|
| Your own mailbox through a connector | Your existing mailbox | Included with your Claude or ChatGPT plan and mailbox | Connect your existing account |
| An email API | A verified-domain inbox or provider address, depending on the service | Resend: $0; Mailtrap: $0; Postmark: $0 | Connect the API and configure incoming mail |
| An agent identity | Your agent’s Mailrun-hosted address on Free | Mailrun Free: $0 a month | Sign up, then connect through MCP or the HTTP API |
Create an inbox through an email API
Choose an email API when you want to connect email handling to your application. Check how the service receives messages, assigns addresses, and counts usage.
Resend provides inboxes on your verified domain or through forwarding. Its Free plan includes 3 inboxes, 3 domains, 3,000 emails a month, and 100 a day. Received emails count toward your quota.
Mailtrap lets you create inboxes through its API on an @inbound-mailtrap.io address. Its Free plan includes 4,000 emails a month, 150 a day, and 1 sending domain. Sent and received mail share that quota. Its webhooks carry IDs, so you fetch each message separately.
Postmark provides 1 inbound stream and domain per server, with multiple addresses on a custom inbound domain. It parses incoming mail into JSON for a webhook. Its Free plan includes 100 emails a month.
Resend includes custom-domain support on its Free plan. Mailrun’s Free plan uses a Mailrun-hosted address.
Create a Mailrun agent identity
Choose Mailrun Agent Identities when you want an address that stays when you change your agent or model.
You can start with Free at $0 a month, without a card. The plan includes 3 inboxes, 3,000 emails a month, and a daily limit of 100. Free is email only, with a Mailrun-hosted address. It includes no custom domain, phone number, or hosted email agent.
If you need your own domain, Solo costs $10 a month and includes 1 custom domain. You get 3 inboxes, 6,000 emails a month, and a daily limit of 250.
You connect your own agent through the HTTP API or hosted MCP server. Signed HMAC webhooks include retries. With webhooks, you usually do not need to poll; missed events can be fetched from the events API.
Connect Mailrun to your agent
A person must sign up and create API keys in the customer portal. Your agent cannot complete signup alone.
Any MCP client that supports sign-in can connect with your Mailrun account, including Claude’s apps and Claude Code. If your client cannot sign in, or you prefer a key, use an API key from the customer portal as a bearer token. The hosted MCP server uses Streamable HTTP.
For a direct integration, use the HTTP API at https://agent-api.mailrun.ai. You can create drafts through either the API or MCP.
- Sign up at mailrun.ai/agents/checkout.
- For Claude Code, run the following command, start Claude, and open /mcp.
- Complete OAuth sign-in.
- Send a test email and check how your agent handles the reply.
claude mcp add --transport http mailrun https://agent-api.mailrun.ai/mcp
claude
> /mcpSee every plan on the pricing page, or connect an agent with the quickstart.
Questions
Can you use your own domain for free?
With Resend’s Free plan, you can use a verified domain for inboxes. With Mailrun, custom-domain support starts on Solo at $10 a month.
Does Mailrun Free answer emails for you?
No, Free does not include the hosted email agent. You connect your own agent to handle email through the API or MCP.
Can you review replies before sending?
You can create Mailrun drafts through the API or MCP. On Solo, Team and Scale, the hosted email agent offers draft mode. A person sends every reply. You pay $0.40 per draft it writes.
Facts about other providers on this page were taken from their public websites on November 12, 2026 and may have changed. Each name is a trademark of its owner. Mailrun is not affiliated with any of them. Spotted something out of date? Tell us.
More answers and comparisons
Give your agent an identity of its own.
Free plan, no card.
