Build with MailKite
MailKite is the developer email platform: receive email as a webhook, send with one API, and skip the mail server entirely — across unlimited domains. These docs cover everything you need to integrate, whether you're writing code or wiring up an AI agent.
Connect your agent
In Claude Code it's one line — /plugin install mailkite@mailkite, then authenticate in your browser. Any other MCP client points at the hosted remote server. Your agent sends, reads inbound, and replies in-thread.
Give an agent an inbox
Email is your agent's identity — verification codes, replies, and threads it owns and acts on. One inbox per agent, no per-domain tax.
Integrate with REST
Point a domain, receive every message as JSON at your webhook, and send with one API call. Works from any stack.
Send your first email
Every domain you add can send and receive. Once a domain is verified, grab an API key from the dashboard and make a single request:
curl https://api.mailkite.dev/v1/send \
-H "Authorization: Bearer mk_live_3a9f…" \
-H "Content-Type: application/json" \
-d '{
"from": "hello@myapp.ai",
"to": "ada@example.com",
"subject": "Your invoice #1042",
"html": "<p>Thanks! Receipt attached.</p>"
}' Inbound is just as simple — point a webhook URL at your endpoint and every message that hits your address arrives as clean JSON. No IMAP, no polling, no MIME parsing. See Quickstart for the full walkthrough.
Explore the docs
Domains & DNS
Add a domain and the three records that make it live: MX, SPF, DKIM.
Inbound webhooks
The email.received payload, attachments, retries, and test events.
Verifying signatures
Check the x-mailkite-signature header so you only trust real events.
Send API
One POST to /v1/send — HTML, text, attachments, and in-thread replies.
Authentication
API keys for sending, and bearer tokens for the management API.
API reference
Every endpoint, request shape, and error in one place.
What you get
- Email → webhook. Inbound is parsed and POSTed to your endpoint as JSON — body, headers, and attachments included.
- One send API. Transactional mail, replies, and broadcasts over your own DKIM-signed domain, built on Cloudflare's edge.
- Unlimited domains. Spin up an address for every product you ship — no per-domain fees.
- No mail server. SPF, DKIM, and DMARC are configured and monitored for you.
- AI-native. An MCP server, an AI skill, and built-in inbox agents let your agents send, receive, and act on email — bring your own, or use ours.
Ready to build? Create a free account or jump into the Quickstart.