Inbox Management
Create and manage email inboxes programmatically. One API call to provision [email protected].
Learn MoreCreate inboxes programmatically. Send and receive emails via REST. Get webhooks on every event. No IMAP. No per-inbox pricing. Self-hosted for $7/mo.
Three API calls
No IMAP. No MIME construction. No per-inbox limits. Just REST.
# 1. Add your domain
curl -X POST /v1/domains \
-H "X-API-Key: e4a_..." \
-d '{"name": "yourdomain.com"}'
# Auto-configures DNS in
# Cloudflare + registers SES # 2. Create an inbox
curl -X POST /v1/inboxes \
-H "X-API-Key: e4a_..." \
-d '{
"username": "agent",
"domain_id": "dom_uuid"
}'
# → [email protected] # 3. Send an email
curl -X POST /v1/messages/send \
-H "X-API-Key: e4a_..." \
-d '{
"from_inbox_id": "inb_uuid",
"to": "[email protected]",
"text": "Hello from my agent"
}' Features
Powerful features that help your team get more done with less effort.
Create and manage email inboxes programmatically. One API call to provision [email protected].
Learn MoreFull send/receive/reply/thread API. Your agent reads replies, sends follow-ups, and handles threads — all via REST.
Learn MoreReal-time event delivery for every email event. Your agent reacts instantly — no polling loops.
Learn MoreEvery inbound email is automatically classified via OpenRouter. Your agent knows the intent before reading a single line.
Learn MoreGive Claude Code full email superpowers with one line. list_inboxes, send_email, read_messages — all as native tools.
Learn More4
Docker containers total
$7/mo
Typical hosting cost
∞
Inboxes per server
REST
Clean API, no IMAP
Customer Stories
See what our customers have to say about their experience.
""
""
""
""
""
Pricing
Self-host for nearly free, or use our managed cloud when you're ready to scale.
Run it on your own infrastructure. Full control, full data ownership.
We run it. You focus on your agents.
On-premise deployment + dedicated support for high-volume operations.
Common Questions
Get quick answers to the questions we hear most often.
Not if you use Cloudflare for DNS. When you add a domain with auto_dns: true (the default), Emails4Agents automatically creates all required DNS records via the Cloudflare API: MX, SPF, DMARC, and DKIM CNAME records for AWS SES.
If your DNS is managed elsewhere (GoDaddy, Route53, Namecheap, etc.), set auto_dns: false and the API returns the exact records you need to add manually.
Inbound email flows through Postfix (SMTP, port 25) → LMTP → the FastAPI API server → Supabase database. When a message is stored, a webhook fires to your configured endpoint within seconds.
You don’t need to poll anything. Register a webhook for message.received events and your agent gets notified in real time the moment an email arrives. The webhook payload includes the full message content, sender details, and — if classification is enabled — the Claude intent label.
Self-hosting is effectively free — you pay your own infrastructure costs, which typically runs $7-15/mo for a VPS that can handle hundreds of active inboxes. You’ll also pay AWS SES for outbound email at $0.10 per 1,000 emails sent.
Our managed cloud plan (currently in waitlist) will start at $29/mo for up to 500 inboxes. Enterprise pricing is available for on-premise deployments and high-volume operations.
Compare this to AgentMail: $20/mo for 25 inboxes, $200/mo for 150. With Emails4Agents, you get unlimited inboxes for ~$7/mo in hosting.
Emails4Agents is a self-hosted email infrastructure platform designed for AI agents. It provides a REST API to create and manage email inboxes, send and receive messages, and get real-time webhook notifications on every email event.
Unlike general email platforms, Emails4Agents is built specifically for programmatic use. There’s no webmail UI, no IMAP configuration, and no per-inbox pricing. Just a clean API that lets AI agents treat email like any other HTTP resource.
Our 14-day free trial includes full access to all Pro features. No credit card required to start. At the end of your trial, you can downgrade to the Free plan or upgrade to Pro.
Start your free trial today. No credit card required.