Send email
AgentMail
Email API that gives AI agents their own inboxes to send, receive and thread messages, with webhooks and an MCP server.
Methods
| Method | Used for | How |
|---|---|---|
| API key | REST API, SDKs, CLI | Header Authorization: Bearer $AGENTMAIL_API_KEY; keys start with am_ |
| Scoped API key | Access limited to one pod or inbox | Created with POST /pods/{pod_id}/api-keys or POST /inboxes/{inbox_id}/api-keys |
| OAuth | Hosted MCP server in Claude and ChatGPT | Sign in through console.agentmail.to |
x-api-key header | MCP clients without OAuth | Pass the API key as the x-api-key header |
| API key as password | IMAP and SMTP | Use the API key as the password |
Source5Agent onboarding
Getting access
- Who creates the account
- A person can sign up in the Console, or an agent can sign itself up through the Agent API5
- Where to get a key
console.agentmail.to, API Keys section; shown once4- Other requirements
- Unverified agent sign-ups can send only to the attached human until a 6-digit OTP is verified; custom domains need DNS records5
Read from AgentMail’s own pages on 2026-11-04. Every number links to the page a value came from. For agents, the same facts as markdown: /tools/send-email/agentmail.md