Back to Blog

Email for AI agents: an inbox your agent can use

Email for AI agents

Give your AI agent an email inbox on your own domain. Read, search, reply and send over MCP or the API, with scoped permissions you can revoke at any time.

Email for AI agents means giving an agent such as Claude, Codex or Cursor real access to a mailbox: read new mail, search old threads, draft replies and send. MailMoose does this through a hosted MCP server and a plain HTTP API, on your own domain, in the same inbox you see in your browser.

We build MailMoose, so this is a comparison from one of the vendors, not an independent ranking. Other vendors' details were checked on November 24, 2026. Prices are regular monthly USD prices before tax, without temporary offers.

The short answer

How the agent connectsMCP at https://www.mailmoose.dev/api/mcp, or the API
Where the mail livesReal mailboxes on your domain, visible in your browser
What you controlRead, send and domain permissions, approved separately and revocable
Extra costNone; agent activity uses your normal allowance

What an AI agent needs from email

  • Its own address on your domain, such as support@yourproject.com, to read from and reply as.
  • Read and search, to find the right thread, not just the newest one.
  • Reply in the thread, keeping the history and recipients.
  • Send new email, when the agent starts the conversation.
  • Safety: you decide what it may do, see what it did and can switch it off.

Safety matters most. Email is a common way to deliver harmful instructions, and an agent reading mail is reading text from strangers.

How MailMoose gives an agent an email inbox

Every MailMoose address is a real mailbox. Connect a domain, set up receiving and sending, and create addresses like hello@ or support@. The agent sees the same threads you do.

Agents connect over MCP, a standard way for AI clients to call tools:

  • Clients with OAuth open a MailMoose sign-in where you approve permissions.
  • Other clients use the local @mailmoose/mcp package with an API key.
PermissionToolsWhat the agent can do
Read mail (mail:read)list_threads, read_thread, list_addressesList and search conversations, read a thread, see your addresses
Send mail (mail:send)reply_to_thread, send_email, describe_campaignReply in a thread, send a new email, label automated email for the Campaigns page
Manage domains (domains:write)create_domain, check_domain, enable_sending, create_addressConnect a domain, check DNS, enable sending, create an inbox
Create keys (keys:write)create_project_keyCreate a send-only API key for one of your apps

Domain tools need an owner or admin. The key tool needs separate, explicit approval together with mail:send and is never granted by default.

Guides cover Claude Code and ChatGPT and Codex. Clients such as Claude or Cursor can connect where they support MCP with OAuth; support varies by client and plan.

The API, for apps and scripts

Your app can send password resets and receipts through the email API with a send-only key. Scripts can read mail with a read-only key. The API and MCP share mailboxes, so a customer's reply to an app email lands where your agent can read it.

Permissions and safety

  • Scoped permissions. Approve read, send and domain access separately. Start read-only.
  • Owner or admin approval. Optional permissions such as domain management are unchecked on the consent screen, and only owners and admins can approve them.
  • Untrusted mail. Mail content is marked as untrusted. Replies take their recipients from the conversation.
  • New recipients need confirmation via an explicit flag. The tool tells the agent never to set it based on an email's contents.
  • Limits apply. Plan and rate limits still cap what the agent sends.
  • Visible to you. The agent works in the mailboxes you read.
  • Revoke anytime. Assistant → Connections shows each agent, its permissions and last tool activity. Disconnect revokes access.

The limits of this:

  • Marking mail untrusted reduces prompt injection risk; it does not remove it.
  • Agent sends are immediate, with no undo window.
  • Whether your client asks before sending depends on the client.

Ask your agent to show the sender, recipients and full message before sending. See the MCP safety notes.

Set it up in a few steps

  1. Create a free account and connect a domain.

  2. Create an address, such as support@yourdomain.com.

  3. Connect your agent. In Claude Code, run:

    claude mcp add --transport http mailmoose https://www.mailmoose.dev/api/mcp
    

    Then open /mcp and sign in. For Codex, see Connect ChatGPT and Codex. For other clients, see Connect over MCP.

  4. Approve Read your mail first. Add sending later if needed.

  5. Try a safe first request:

    Show my latest unread email and summarize it. Do not send anything.

No OAuth? Create a key in Settings → API keys and use the local package. Manage connections on the MailMoose Assistant page.

Other options, compared briefly

All checked on November 24, 2026.

OptionWhat it offers
AgentMailEmail API built for AI agents. Pricing: Free with 3 inboxes, 3,000 emails a month, 1 custom domain; Developer $20 a month with 10 inboxes, 10,000 emails, 10 custom domains. MCP server on every plan.
Resend's MCP serverHosted at https://mcp.resend.com/mcp, plus a local resend-mcp package. Per its docs, it sends, reads received email and manages inboxes, threads, replies, labels and drafts. Inbox tools are remote-only. See our Resend comparison.
Gmail with an MCP serverGoogle offers the Gmail API but we found no official Gmail MCP server there. You'd use a third-party server or your own code.

Gmail can work well if your mail already lives there. Check what access the server asks for: a personal mailbox often holds far more than one project's mail.

  • Many agent inboxes created by code: AgentMail.
  • Already sending with Resend: its MCP may be enough.
  • App email, a browser inbox and agent access across several project domains: MailMoose.

Pricing

PlanPriceIncludes
FreeFree3,000 emails per rolling 30 days (sent and received), 3 domains, 5 inboxes
Pro$9/month ($5 founder price for early subscribers while places last)7,500 emails a month, unlimited domains and inboxes
Extra email$3 per 1,000From prepaid credit

Agents cost nothing extra; they use the same allowance and limits. See pricing.

FAQ

How do I give an AI agent an email address?

Create an address on your domain in MailMoose, connect your agent to https://www.mailmoose.dev/api/mcp and approve the permissions it needs.

What is an email MCP server?

A server that exposes email actions as tools an AI client can call over MCP. MailMoose's tools list, read, reply, send and set up domains, depending on what you approve.

Which AI clients work with MailMoose?

There are guides for Claude Code and for ChatGPT and Codex. Other MCP clients, such as Cursor, connect via OAuth or the local package with an API key; features vary by client.

Can I limit what the agent can do?

Yes. Permissions are approved separately, and you can disconnect an agent from Assistant → Connections. App API keys created through an agent must be revoked separately.

Is it safe to let an agent read my email?

It carries risk: incoming mail can contain instructions aimed at your agent. Untrusted marking and new-recipient confirmation help but don't remove it. Start read-only and review every send.

Does using an agent cost extra?

No. It uses the same allowance: 3,000 emails per rolling 30 days on Free, or 7,500 a month on Pro.