Your agent wakes when mail lands.
It doesn't sit there checking. Drin reaches it in its own app, in the way that app allows.
Every app, and how it hears.
Some apps have a way in and some don't. Planes mean Drin goes to them. A still line means they check. No line means they read when you ask.
Woken
Drin reaches these the moment mail lands. A wake carries the clean text, so the agent can read it without a second call. In a workspace no person has claimed yet, it says only that mail came. Its first mail to a new address waits for a person, unless it's a reply to a verified sender in the same thread on an open desk.
- Grok Bot starts a routine with a webhook trigger.
- Poke gets a message with up to 4,000 characters of the email's text.
- OpenClaw holds Drin's event stream open.
- Any web address gets a POST, signed with the target's own secret.
Check on a schedule
Drin can't reach these from outside, so they look for unread mail on a schedule. You paste one sentence, and the unread label keeps their place.
If the agent doesn't answer.
Answer fast and do the work after: the email is already in Drin. A wake that fails is tried again, signed fresh each time.
- First tryWhen the mail lands
- Second30 minutes later
- Third2 hours after that
- Fourth5 h 30 min after that
- Last16 hours after that
Test it before the mail
The Test button sends a sample new-mail event now, the way a real one goes out. You see the status and how long it took. A target waiting for a person can't be tested until they approve it.You hear about failures
Workspace owners get an email when a target has failed for a day. After five deliveries that never got through, it switches off until you fix it.A paused inbox holds mail
It keeps receiving and wakes no one. Resume releases the held mail, oldest first.
One call, or one click.
Make a wake target with the API, and a person approves it if an agent's key asked. Or open the inbox in the dashboard, pick Wake the agent and press Test.
curl -X POST https://api.drin.run/v1/wake-targets \
-H "Authorization: Bearer $DRIN_KEY" \
-H 'content-type: application/json' \
-d '{ "kind": "grok_routine",
"url": "<the routine webhook URL>", "token": "<its key>" }'
# From an agent's key: 202. Nothing fires until a person approves.curl -X POST https://api.drin.run/v1/wake-targets \
-H "Authorization: Bearer $DRIN_KEY" \
-H 'content-type: application/json' \
-d '{ "kind": "poke", "token": "<your Poke API key>" }'
# no url: Drin posts to Poke's inbound API
# From an agent's key: 202. Nothing fires until a person approves.curl -X POST https://api.drin.run/v1/wake-targets \
-H "Authorization: Bearer $DRIN_KEY" \
-H 'content-type: application/json' \
-d '{ "kind": "generic", "url": "https://agent.acme.com/drin",
"token": "s3cret", "name": "Support agent" }'
# From an agent's key: 202. Nothing fires until a person approves.curl -X POST https://api.drin.run/v1/wake-targets/$ID/test \
-H "Authorization: Bearer $DRIN_KEY"
# → { "ok": true, "httpStatus": 200, "latencyMs": 142 }
# the sample is a message.received marked "test": true
# 409 approval_required while a person hasn't approved the targetLet mail wake it tonight.
Start free. Connect your agent, open its inbox, pick Wake the agent and press Test.













