Docs
guides · introduction

Drin

Transactional email with one extra idea: email is a first-class surface for AI agents, not just apps. The same key that sends your password resets can give an agent its own inbox — to receive, read threads, and reply.

Every capability is reachable five ways, from the same account and key — pick whatever fits your stack.

01 What you can do

SendTransactional email, batches up to 100, scheduled sends, reusable templates with merge variables, idempotency keys.
ReceiveGive a domain an inbox, read conversation threads (inbound + outbound joined), and reply in-thread in one call.
Authenticate domainsDKIM, SPF, and DMARC with guided setup — or send from a shared onboarding domain in test mode with zero DNS.
ObserveDelivery, bounce, complaint, open and click events over webhooks, plus metrics and a full per-message transit log.

02 Send your first email

The fastest path is a single request. You can run this the moment you have a key — it sends from a shared onboarding domain in test mode, no DNS required.

curl https://api.drin.run/v1/emails \
  -H "Authorization: Bearer $DRIN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "from": { "email": "onboarding@yourdomain.com" },
    "to": [{ "email": "you@example.com" }],
    "subject": "Hello from Drin",
    "html": "<p>It works!</p>"
  }'
Test modeThe shared onboarding domain can only deliver to your own address. To email anyone from your own brand, verify a domain (DKIM + SPF + DMARC, guided), then send from it.

03 Who it's for

  • Developers shipping transactional email — receipts, magic links, alerts. Start with the Quickstart.
  • AI-agent builders who want an agent that can send and receive real email. Start with Agents overview or the MCP server.
  • No-code makers who'd rather point an existing tool at an SMTP gateway than write code.
Full quickstartGet a key, copy a snippet, and watch the delivery land — in under a minute.