Programmatic Inbox API
Create and manage email inboxes via a REST API, with full message threading support.
Alternatives
styleX
StyleX combines the strengths and avoids the weaknesses of both inline styles and static CSS
Grok Bot
Always-on AI teammates that get their own cloud computer, sign into your tools, and finish multi-step work on their own.
Is Agentic
Score how ready a website is for AI agents, then get evidence and recommendations to improve it.
Make This Better
Triage feedback. Ship improvements. Build a better product
AgentMail is an API platform — "the email inbox API for AI agents" — that gives AI agents their own email inboxes, so they can send, receive, and act on email autonomously, using email as a "universal protocol" to communicate with services, people, and other agents rather than relying on a human-owned mailbox. Agents can use these inboxes to sign up for services, receive confirmations, and authenticate under their own identity.
The platform is built around a programmatic Inbox REST API with full message threading, custom domains configured with DKIM, SPF, and DMARC, webhooks and WebSockets for real-time events, official Python and TypeScript SDKs, an MCP server for AI tool integration, and IMAP/SMTP access. It also offers multi-tenant "Pods," aimed at platform builders who need to provision inboxes for many end users or agents at once.
Create and manage email inboxes via a REST API, with full message threading support.
Real-time event delivery when mail arrives, instead of polling an inbox.
Send from your own domain with DKIM, SPF, and DMARC configured.
Official SDKs for both languages, plus an MCP server so MCP-compatible AI clients can use AgentMail as a tool.
Built for platform builders who need to provision and manage inboxes across many end users or tenants.
Standard mail-protocol access for tools that expect IMAP/SMTP rather than a REST API.
AgentMail's docs describe two setup paths.
For an agent to onboard itself:
POST /inboxes, with an optional client_id for idempotent retries) and sends mail (POST /inboxes/<inbox_id>/messages/send with to, subject, and text).For a human developer integrating AgentMail:
.env file.pip install agentmail python-dotenv (Python) or npm install agentmail dotenv (Node/TypeScript).AgentMail(api_key=...) in Python or AgentMailClient({ apiKey }) in TypeScript), then call inboxes.create() to create an inbox and inboxes.messages.send() to send a message.Beyond the REST API and SDKs, AgentMail also exposes an MCP server for MCP-compatible AI clients, and supports IMAP/SMTP for tools built around standard mail protocols.
$0/month
$20/month
$200/month
Custom pricing