One REST endpoint, one key, and your mail is queued in milliseconds. Idempotent, batchable, fully typed, and tracked end to end — the boring reliability you want under a product.
# POST /v1/emails curl https://api.drin.run/v1/emails \ -H "Authorization: Bearer $DRIN_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "from": "hello@drin.run", "to": "user@acme.com", "subject": "Welcome aboard", "html": "<p>You are in.</p>" }' # → 202 Accepted { "id": "msg_8fK2q1", "status": "queued" }
Pass an Idempotency-Key and retry safely — a duplicate request never sends twice.
Up to 100 messages in a single call, each with its own recipients and content.
File attachments and inline images (cid:), size-validated at the edge before send.
Queue a message for a future timestamp and cancel it any time before it leaves.
Optional open and click tracking, off by default — you choose what to measure.
Eleven delivery, bounce, complaint and engagement events, signed and retried.
Predictable verbs, predictable errors, predictable limits. Send over REST, SMTP, the SDKs, the CLI or the MCP tools — however you call it, behaviour is identical.
https://api.drin.run/v1X-Drin-Product selects the projectIdempotency-Key header, 24h dedupe windowGrab a key, call one endpoint, and watch it land. Test in the sandbox; production starts at $3 a month.