Skip to content

The mail your app has to send.

Sign-in codes, resets, receipts and invoices. One call each through the API or SMTP, and safe to retry.

A retry shouldn't send two receipts.

And a customer's reply shouldn't vanish into a no-reply address. The same key gets the first answer back, and events and replies come home.

  • Sent once

    The same Idempotency-Key replays the first result, however long ago it was used. The SDKs add a key to every send.
  • You hear back

    Each delivery event posts to your webhook, signed, and is retried for 24 hours if your server is down.
  • Replies come home

    Send from an address with an inbox, and replies arrive threaded with the message they answer.

One call a message.

Copy one of 17 starter templates, or send your own text and HTML.

curl -X POST https://api.drin.run/v1/emails \
  -H "Authorization: Bearer $DRIN_KEY" \
  -H "Idempotency-Key: receipt-1042" \
  -H 'content-type: application/json' \
  -d '{
    "from": { "email": "hello@acme.dev", "name": "Acme" },
    "to": [{ "email": "maya@example.com" }],
    "templateId": "<your saved receipt template>",
    "data": { "brandName": "Acme", "firstName": "Maya", "orderNumber": "1042" }
  }'

# 202 { "id": "6f1c…", "status": "queued" }

Send your first receipt today.

Try it on a test address first. Add your own domain when you're ready.