Email inboxes for AI agents
Real addresses your agents can sign up with, read verification codes from and reply on — over one REST API, an MCP server or webhooks.
Read agmx.io/skill.md and set up your own inbox.From sign-up to first email in three steps.
Agents onboard themselves, and you stay in control: every agent needs your approval, gets its own scoped key, and can be paused at any time.
- Step 1
Your agent asks for an inbox
One unauthenticated call to POST /api/v1/signup. It gets back an approval link and a short code to show you.
POST /api/v1/signup{ "name": "Scout", "username": "scout" }→ userCode "KQ7M-3XPA" - Step 2
You approve it
Open the link, check the agent and the address it wants, and approve. Nothing gets an inbox without a human saying yes.
SApproveScoutscout@bot.agmx.io - Step 3
It sends, receives and replies
The agent collects its own scoped API key, then works over REST or MCP. Codes and links come pre-extracted from every email.
GitHubnowPlease verify your device482913
Every agent's mail, in one live inbox.
Read along as your agents work, step in to reply, approve new agents and see exactly what was sent — all from one keyboard-driven dashboard.
Hey scout,
A sign-in attempt requires further verification. Enter the code above on the unrecognized device to finish signing in.
Built for software that reads email.
An API shaped around what agents actually do with mail — sign up for things, read codes, follow up — and still a pleasant inbox for the people supervising them.
Codes and links, already extracted
Every inbound email is scanned for one-time codes and action links, so your agent reads a field instead of parsing HTML.
- extracted.codes for OTPs and PINs
- extracted.links classified as verify, login, reset, tracking or unsubscribe
- safeText with hidden content stripped, plus events, receipts and attachment text
{
"subject": "[GitHub] Please verify your device",
"from": { "address": "noreply@github.com" },
"extracted": {
"codes": ["482913"],
"links": [
{ "kind": "verify", "url": "https://github.com/…" }
]
}
}Wait for the next email
GET /messages/wait holds the connection open until mail arrives, for up to 60 seconds. No polling loops, no sleeps.
- Filter by inbox, sender or subject
- Returns the full message the moment it lands
- Same behaviour over MCP as wait_for_email
# Trigger the email, then wait for it to land
curl "https://agmx.io/api/v1/messages/wait?timeout=60" \
-H "Authorization: Bearer $AGMX_API_KEY"
# 200 OK after 1.8s
{
"timedOut": false,
"message": { "extracted": { "codes": ["482913"] } }
}REST or MCP. Same tools, same limits.
A small, typed API with an OpenAPI 3.1 spec, and an MCP server that wraps exactly the same operations. Every error has a stable _tag your agent can branch on.
- 22 MCP tools over Streamable HTTP at /mcp
- Bearer keys scoped to the account or a single agent
- Interactive reference at /api/v1/reference
# Send from your agent's inbox
curl https://agmx.io/api/v1/messages \
-H "Authorization: Bearer $AGMX_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"to": "alice@example.com",
"subject": "Your weekly report",
"text": "Hi Alice — the report is attached."
}'Prompt-injection protection
Hidden text, invisible characters and instruction-like phrasing are flagged and stripped. Agents read safeText, not raw HTML.
Human approval for sends
Hold an agent's mail to new recipients — or all of it — until you approve it in the dashboard. Agents can't change their own policy.
Temporary inboxes
A throwaway address for one sign-up that only accepts mail from that service and deletes itself when it's done.
Sender rules
Allow-lists, blocks and labels per inbox, applied before mail is stored. Forward and webhook rules stay human-only.
Drafts, scheduling, safe retries
Save drafts, send later with sendAt, and pass an Idempotency-Key so a retried request never sends twice.
Receipts, invites and tracking
Calendar invites, receipt totals, order and tracking numbers, and text from PDF attachments — extracted for you.
Threaded replies
Replies set In-Reply-To and References, so conversations stay threaded in Gmail, Outlook and AGMX.
Signed webhooks
Received, sent, delivered, bounced, held, approved and rejected events — HMAC-signed and retried with backoff.
Your own domain
Publish the DKIM and MX records AGMX generates, then create inboxes at your brand. Included on Pro and Scale.
Priced by agents, not seats.
Plans differ in how many agents and inboxes you run, and how much mail they send and receive. Each recipient counts as one send.
Starter
For tinkering with your first agent.
- 2 agents
- 1 inbox per agent
- 300 sends / month
- 5,000 received / month
- REST API, MCP & webhooks
- 30-day retention
Pro
Most popularFor agents that do real work every day.
- 15 agents
- 5 inboxes per agent
- 10,000 sends / month
- 100,000 received / month
- 3 custom domains
- Signed webhooks with retries
- 180-day retention
Scale
For fleets of agents in production.
- 250 agents
- 25 inboxes per agent
- 150,000 sends / month
- 1M received / month
- 25 custom domains
- REST API, MCP & webhooks
- 1-year retention
AGMX is MIT licensed. Run it with your own Amazon SES account, and every limit becomes yours to set.
Yes. Inboxes are real, routable addresses such as scout@bot.agmx.io, or addresses on your own domain. Mail from anywhere is received through Amazon SES, and outbound mail is sent through SES with DKIM signing.
It calls POST /api/v1/signup with a name and preferred username. AGMX returns an approval link and a short code for you. Once you approve, the agent's next poll returns an agent-scoped API key — exactly once.
That's the core use case. Call GET /api/v1/messages/wait right after triggering the email. It returns the moment the email lands, with codes in extracted.codes and links in extracted.links.
Every inbound message gets a security report and a cleaned safeText with hidden text and invisible characters removed, so agents read what a human would see. You can lock inboxes to expected senders with allow rules, and require your approval before an agent emails someone new.
Either. The MCP server at /mcp wraps the same services as the REST API, so limits, permissions and errors are identical.
Each recipient of an outbound message counts as one send (to, cc and bcc). Received mail has its own, much larger monthly allowance; mail beyond it is dropped. Daily limits reset at 00:00 UTC, monthly limits on the 1st.
Yes, MIT licensed. Deploy it anywhere that runs Node and Postgres, add your Amazon SES credentials, and you have your own agent mail platform.
Give your agent an inbox today.
Start on the free plan, or hand your agent one line and let it sign itself up.
Read agmx.io/skill.md and set up your own inbox.