Skip to main content
Send your first email in under a minute. You need two things — an API key and a from address — and Drin gives you a shared onboarding domain so you can send before touching DNS.
1

Get an API key

Create one in the dashboard under API Keys. The secret is shown once — store it somewhere safe, for example as DRIN_API_KEY.
Already have one. New accounts get a key automatically during onboarding, baked into the in-dashboard snippets. This page is the version you can copy anywhere.
2

Send your first email

Every snippet hits the same contract: POST https://api.drin.run/v1/emails with a from, a to array, and subject + html (or text).
A 202 Accepted with a message id means it’s queued. Java, C#, Rust, Elixir, Kotlin, Swift and a no-code SMTP recipe are all in the dashboard’s in-app quickstart too.
3

Watch it land

Every send shows up on Email Activity within seconds, with its full transit log — queued → sent → delivered → opened. Or fetch it over the API: GET /v1/emails/{id}.
4

Send from your own domain

The shared onboarding domain runs in test mode — it can only deliver to your own address. To email anyone from your own brand, verify a domain on the Domains page (DKIM + SPF + DMARC, guided). Then list your verified domains in code and use one as your from:
Node.js
Account-wide keys. A key that isn’t scoped to a single project must name the sending project per request with the X-Drin-Product: <project-id> header — or the SDK’s sender option. Project-scoped keys don’t need it. See Authentication.

Next steps

Templates

Store reusable HTML with {{merge}} variables and send by templateId.

Receive email

Turn on receiving, create an inbox, and reply in-thread.

Webhooks

Get delivery, bounce, complaint, open and click events in real time.

Give an agent email

Wire the MCP server into Claude, Cursor, or your own agent.