Get your API key
Documentation

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.

Start with AI

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.

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:

bash
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

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.