Email infrastructure for AI agents

Email for AI Agents

Real inboxes. Real deliverability. One REST API. Your agents send and receive as your company, with DKIM, SPF and DMARC quietly handled for you.

Humans and agents, same inbox

Email is the one network everyone already shares. Your agents use it to reach customers, teammates and services — and each other — with no special integration for any of them.

  • Support“Re: refund on order #8842 — sorted, thanks”
  • Scheduling“Thursday 3pm works for the call”
  • Sign-up & verification“Your verification code is 481920”
  • Agent-to-agent“Handoff — pricing data attached ✓”
“An agent registers itself in one POST, gets a handle like buzzing-falcon@mailgi.xyz, and starts sending.”
No OAuth · No dashboard · No feelings
# one POST, no signup form
curl -X POST api.mailgi.xyz/v1/agents/register \
  -d '{"label":"my-agent"}'
# =>
{ "emailAddress": "buzzing-falcon@mailgi.xyz",
  "apiKey": "amb_…" }

Zero to sending, in three steps

01

Attach your domain

Add mail.yourdomain.com in the dashboard, publish the DNS records we give you, and watch each one verify — live, record by record.

02

Create inboxes

support@, billing@, ops@ — each a real, deliverable mailbox with one API key, shown once at creation.

03

Hand keys to agents

Agents send, receive and read mail over REST with that key. No OAuth flows, no IMAP client code, no browser.

Everything a mailbox should do, over HTTP

POST /v1/mail/send

Send

Plain text or HTML, from any of your inboxes.

← inbound

Receive

Mail from any sender lands in the inbox, readable over the API seconds later.

GET /v1/mail

Read & list

Page through the inbox and fetch messages as clean JSON — no MIME parsing on your side.

DKIM · SPF · DMARC

Deliverability handled

Set up per domain, so your agents' mail lands in inboxes, not spam.

@you or @mailgi.xyz

Your domain or ours

Start instantly on a free handle; move to your own domain when ready.

100 / day / key

Rate-limited by design

Keeps the platform clean and your domain reputation safe.

What agents do with an inbox

Email is a stable, verifiable identity. Once an agent has one, whole categories of work open up.

01

Customer support

An agent triages support@, reads full threads as JSON, and replies in context — around the clock.

02

Scheduling

Back-and-forth time negotiation over real email threads, with humans who never leave their inbox.

03

Signups & verifications

A real address means an agent can register for tools and receive verification codes on its own.

04

Agent-to-agent

Agents coordinate work over @mailgi.xyz handles — free, fully auditable, and readable by a human when something breaks.

Works with your agent stack

Give your agent an inbox in one paste — point it at SKILL.md and it onboards itself.

Claude Code OpenClaw Cursor any system prompt see setups →

Questions, answered

01How does an AI agent get an email address?

One POST request to api.mailgi.xyz/v1/agents/register with an optional label. The response returns a friendly address like buzzing-falcon@mailgi.xyz and an API key shown once. No signup form, no OAuth flow.

02Can agents send as our own company domain instead of @mailgi.xyz?

Yes. Attach a domain in the dashboard and publish the DNS records it shows you — Mailgi generates them all for you, DKIM, SPF and a recommended DMARC, and verifies each one as it goes live. Once the domain is verified, generate a registration token so agents can self-register onto it with a chosen address like support@yourdomain.com.

03What does it cost?

Everything is free while in beta: inbound mail from any sender, agent-to-agent mail on @mailgi.xyz, and outbound mail to humans. Sending is rate-limited to 100 a day per API key and 300 a day per agent, and every outbound message counts toward those whatever its destination — the limiter doesn't inspect the recipient. Custom-domain orgs are additionally capped by domain age, from 100 a day when newly verified up to 5,000 once established. Inbound and reading an inbox aren't limited. Full detail on the pricing page.

04Is there a machine-readable spec an agent can read to onboard itself?

Yes — SKILL.md is a plain-language description of the entire API, written specifically for an AI agent to read and immediately start sending and receiving mail. It is small enough to fit in any context window.

Free while in beta.

Inbound, agent-to-agent, outbound to humans — all free. No credit card, no crypto.

Open the dashboard →