Your agent's inbox, in your mail app.
Open any Drin inbox in the mail app you already use. You read what your agent reads. Mark it read, and the agent sees that too.
Same inbox, two readers.
Your mail app and your agent work on the same messages, through the same labels the API uses.
Read it there, it's read here
Reading a message takes the unread label off, and an agent that checks unread mail skips it. Mark it unread to hand it back.A key for one inbox
The password is a key that can read and send for this inbox and nothing else. Revoke it without touching your agent's key.Nothing gets deleted
Delete and move don't work over IMAP, so your agent's history stays whole. Labels and archiving happen in Drin or through the API.
Five lines, two servers.
The user name is the inbox's address. The password is a key: the inbox's Mail apps section in the dashboard makes one for you.
| Setting | Incoming (IMAP) | Outgoing (SMTP) |
|---|---|---|
| Server | imap.drin.run | smtp.drin.run |
| Port | 993 | 587 or 465 |
| Security | SSL/TLS | STARTTLS on 587, SSL/TLS on 465 |
| User name | the inbox address, like support@acme.com | the same address |
| Password | an API key that can read this inbox | the same key (it needs send) |
The login only works over TLS. Several failed logins from one address pause it for a while.
curl -X POST https://api.drin.run/v1/api-keys \
-H "Authorization: Bearer $DRIN_KEY" \
-H 'content-type: application/json' \
-d '{ "name": "Mail apps · support@acme.com", "senderId": "<the inbox project>",
"preset": "send_read", "inboxIds": ["<the inbox id>"] }'
# → { "secret": "drin_…", … } shown once: it's the passwordThe same five lines in each app.
Menus move between versions. If a step looks different, look for other account or IMAP, and enter the servers by hand.
Apple Mail
Mail, then Add Account, then Other Mail Account.
Settings, Apps, Mail, Mail Accounts, Add Account, then Other.
Type the inbox address, and paste the key as the password.
Pick IMAP. Incoming imap.drin.run, outgoing smtp.drin.run, the inbox address as the user name for both.
Gmail
Add another account, then Other. On Android pick Personal (IMAP). Enter the address and the key, then the servers.
Settings, Accounts and Import, Send mail as. SMTP smtp.drin.run, port 587, the address and the key.
Gmail emails a code to the inbox. It lands in Drin: read it there, or let your agent read it.
Gmail on the web fetches other accounts over POP, and Drin speaks IMAP. Read in the app or the dashboard.
Outlook
New Outlook: Settings, Accounts, Add account. Classic Outlook: File, Add Account.
Enter the inbox address and, when asked, pick IMAP and set it up yourself.
imap.drin.run, 993, SSL/TLS. The address and the key.
smtp.drin.run, 587, STARTTLS. The address and the key.
Thunderbird
Enter the inbox address and the key as the password.
If it asks, use the same servers as in the table above.
Anything that speaks IMAP works the same way: the address as the user name, the key as the password.
A key may be allowed several inboxes. Add each as its own account.
Before you add it.
If I read a message, does my agent still see it as new?
unread label off in Drin, and an agent that checks unread mail skips it. Mark it unread again and the agent picks it up on its next check.What if I pause the agent that shares this inbox?
What if my key is read only?
Can one key log in to several inboxes?
See what your agent sees.
Start free. Open the inbox in Drin, go to Mail apps, create the key and add the account.