Inbox Management
Create and manage email inboxes programmatically. One API call to provision [email protected].
Every AI agent gets its own email address. Create [email protected] with a single POST request and start sending and receiving email immediately.
How it works
# Create an inbox
curl -X POST https://api.emails4agents.com/v1/inboxes \
-H "X-API-Key: e4a_..." \
-d '{"username": "agent", "domain_id": "...", "display_name": "My Agent"}'
# Returns: {"id": "...", "address": "[email protected]", ...}
No IMAP configuration. No webmail setup. No manual DNS changes per inbox. The inbox is live instantly and ready to send and receive.
Key capabilities
- Instant provisioning — Inboxes are live immediately after creation, no propagation delay
- Username + domain model — Combine any username with any verified domain you own
- Display names — Set a human-readable
From:name for each inbox - Bulk creation — Create hundreds of inboxes in a loop — no per-inbox pricing
- Soft delete — Deactivate inboxes without losing message history
- Domain scoping — Scope API keys to specific domains for multi-tenant architectures
Use cases
- Agent identity — Each AI agent gets a persistent email identity across sessions
- Customer simulation — Create test inboxes for QA workflows
- Multi-tenant apps — Provision inboxes per customer at signup
- Campaign automation — Route different campaigns through different addresses
vs AgentMail
AgentMail limits you to 25 inboxes on their $20/mo plan. With Emails4Agents, you create as many inboxes as your domain supports — and since it’s self-hosted, there’s no per-inbox charge. A $7/mo VPS handles hundreds of active inboxes with room to spare.
Ready to get started?
Start your free trial today. No credit card required.