● 100% open source · MIT1 mailbox free · 30 daysthen $1/mo

Give every agent a real inbox.

Your agents sign up for tools, receive OTPs, file issues, and talk to humans. They need email that acts like a person — not a newsletter pipe.

One API call. A real @theagentmail.net mailbox with sending, receiving, webhooks, and attachments. No domains. No DNS. No shared passwords.

per mailbox
$1/mo
per mailbox
sends / mo
1,000
sends / mo
receives / mo
1,000
receives / mo
agent — zshLIVE
curl -X POST https://api.theagentmail.net/v1/accounts \
  -H "Authorization: Bearer am_live_..." \
  -H "Content-Type: application/json" \
  -d '{"address": "deploy-bot"}'

# → deploy-bot@theagentmail.net is live
✉ deploy-bot@theagentmail.net● new mail
G

GitHub — Your verification code: 481516

Your agent reads the OTP via API and finishes signup itself. No human in the loop.

200 OK · webhook delivered in 0.4s

OTPs & verification codes · GitHub / Slack / Linear signups · support inboxes · deploy notifications · human handoffs · webhook pipelines · attachments · OTPs & verification codes · GitHub / Slack / Linear signups · support inboxes · deploy notifications · human handoffs · webhook pipelines · attachments

01 — How it works

Three calls. One working inbox.

REST API or TypeScript SDK. Poll for mail or get pushed by webhooks.

01

Create the mailbox

One POST. Your agent owns a real address instantly.

curl -X POST https://api.theagentmail.net/v1/accounts \
  -H "Authorization: Bearer am_live_..." \
  -H "Content-Type: application/json" \
  -d '{"address": "deploy-bot"}'

# → deploy-bot@theagentmail.net is live

02

Send like a human

Outbound scanned by JEV so the domain stays trusted.

import { AgentMail } from "@agentmail/sdk";

const mail = new AgentMail(process.env.AGENTMAIL_KEY!);

const inbox = await mail.accounts.create({ address: "deploy-bot" });
await mail.messages.send(inbox.id, {
  to: ["you@company.com"],
  subject: "Deploy succeeded",
  text: "All checks green.",
});

03

Receive in realtime

Webhooks fire the moment mail lands. OTPs included.

POST /your-webhook  event: email.received
{
  "from": "github@github.com",
  "subject": "Your verification code: 481516",
  "to": ["deploy-bot@theagentmail.net"]
}

02 — Why not DIY?

Disposable email gets blocked. Personal email gets hijacked.

  • ✕

    Your inbox —Hand an agent your Gmail and you've lost control of password resets, billing, and your identity.

  • ✕

    A domain per agent —DNS, SPF, DKIM, warmup, deliverability firefighting — times every agent you spin up.

  • ✕

    Disposable services —Burner domains are blocklisted everywhere that matters. OTPs never arrive.

✓ THE AGENTMAIL WAY

One shared domain with managed reputation. Every outbound message is evaluated in real time by JEV — phishing and spam blasts die before they leave the server.

Legit agent traffic — signups, notifications, human conversation — sails through. Everyone's mail keeps landing in the inbox.

99%+

inbox rate*

0.4s

webhook p50

1,000

sends / mo

MIT

fully open

*Illustrative target for legitimate agent traffic, not a guarantee.

03 — Pricing

Honest pricing.

Full pricing →

Trial

$0 1 mailbox · 30 days

One mailbox is free for 30 days after phone verification (20 sends/day, 50 receives/day, up to 100 sends & 200 receives/mo). Inbound & webhooks included.

Start free

Mailbox

$1 /mo per active mailbox

1,000 sends/mo & 1,000 receives/mo included (200/day cap). Pause anytime.

Get started

Top-up

$5 minimum, never expires

Prepaid balance = 5 mailbox-months. Covers renewals automatically.

See how

04 — Open source

No black boxes on your agents' email.

Backend, frontend, SDK, infra — all MIT licensed and public. Self-host it, read every line, or contribute the feature you need.

clone + run
git clone https://github.com/uriva/agentmail.git
cd agentmail && cp .env.example .env
deno task dev        # API on :8000
deno task dev:web    # UI on :3000

05 — FAQ

Asked by agent builders.

Still stuck? support@theagentmail.net is a real inbox, read by humans.

How do I give my AI agent an email address?+

Create a mailbox with one API call and your agent gets a real address on @theagentmail.net. It can send via REST, receive via polling or webhooks, and handle attachments — no domains, DNS, or SPF/DKIM setup.

Can agents receive verification codes and sign up for services?+

Yes — that's the core use case. Agents sign up for GitHub, Slack, Linear and friends, receive the OTP or magic link in their AgentMail inbox, and complete the flow themselves via API or webhook.

Is AgentMail really open source?+

Completely. MIT licensed — backend, frontend, SDK, and infrastructure are all public on GitHub. Self-host it, audit every line that touches your agents' email, or send a PR.

How much does it cost?+

One mailbox is free for 30 days after phone verification (20 sends/day, 50 receives/day, up to 100 sends & 200 receives/mo). Paid mailboxes ($1/mo) include 1,000 sends & 1,000 receives per month (200/day). Inbound emails and webhooks are included.

How do you stop spam from ruining deliverability?+

Every outbound message is scanned in real time by JEV before it leaves the server. Phishing and cold-spam blasts are blocked instantly, so the shared domain stays trusted and legitimate agent mail lands in the inbox.

Takes ~2 minutes

Ship the agent.
We'll hold its mail.

Sign up, grab an API key, create an address. Free for 30 days.

Works with prompt2bot.com · MIT licensed · github.com/uriva/agentmail