Mail in, as clean text.
Inboxes on your own domain, or an instant address with no DNS. Every message arrives threaded, with the new part of the reply pulled out.
Conversations, not loose mail.
Enough to act on without a second call: who wrote, the thread, the inbox and the clean text.
Replies join their thread
Both ways. New mail is labelled unread, and that label is the memory between runs.Hear about it your way
A signed webhook, a live stream, a long poll, or a wake for your agent.The original is one call away
The exact bodies and raw source are archived when mail arrives.
A flag, not a wall.
No filter catches every prompt injection, and Drin doesn't claim to stop it. We limit what a fooled agent can do.
Drin Airlock
On by default for agents' keys. Each email gets a risk level before your agent reads it: low, medium or high. Risky mail still lands, with a warning your agent reads first, so a false alarm never costs you an important email. No check catches every attack.What it can say for sure
Through the API, MCP and wakes, every message says whether its sender was verified. Hidden text is removed from the clean text your agent reads, and the original is kept. That can't catch every trick.Limits that don't depend on the model
Chosen inboxes, drafts-only keys, the wait on an agent's first mail to a new address, daily caps and pause all work when the model doesn't.
What a fooled agent can and can't reach is in Security.
Everything on the message, and around it.
The small things an inbox needs once real mail arrives.
Addresses
On your domain, one MX record. Or skip DNS with an instant inbox. Inboxes have no limit on any plan.
More addresses, one inbox. billing@ and invoices@ land together.
Anything else at your domain goes to the inbox you pick.
support+1042@ lands in support@, and the message says which address it came in on.
Messages
billing, needs:human, up to 20 a thread. Filter by them later.
SPF, DKIM and DMARC results on every message.
Download each with its original name and type.
HTML, text and the raw source, archived when mail arrives.
Events
Retried for 24 hours and kept in a delivery log.
Server-sent events. Reconnect where you left off and miss nothing.
Run a message through the real path: events, webhooks and wake targets, marked as a test.
See mail Drin refused or dropped, and why, for 14 days.
Two ways in, one event.
Make the inbox, then get the event below for every message, with the clean text inside.
# turn on receiving for a verified domain
PATCH /v1/domains/:id/receiving
{ "enabled": true }
# make the inbox
POST /v1/inboxes
{ "address": "support", "domainId": "…", "displayName": "Acme support" }# no domain, no DNS: it receives at once
POST /v1/inboxes/instant
{ "localPart": "agent" }
# 201 { "address": "agent@<two-words-1234>.<instant domain>", "type": "agent", … }{
"type": "inbound_received",
"data": {
"threadId": "…",
"inbox": { "id": "…", "address": "support@acme.com" },
"from": "maya@example.com",
"subject": "Re: Your receipt for order 1042",
"text": "Could you resend the invoice as a PDF? Our accounts team needs it.\n\nThanks,\nMaya",
"source": "external_email", "verified": true,
"hiddenContentRemoved": false,
"flags": { "injectionSuspected": false },
"labels": ["unread"]
}
}Make an inbox in one call.
Start free. An instant inbox receives in seconds, and your own domain takes one MX record.