Skip to content

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.

SettingIncoming (IMAP)Outgoing (SMTP)
Serverimap.drin.runsmtp.drin.run
Port993587 or 465
SecuritySSL/TLSSTARTTLS on 587, SSL/TLS on 465
User namethe inbox address, like support@acme.comthe same address
Passwordan API key that can read this inboxthe same key (it needs send)

The login only works over TLS. Several failed logins from one address pause it for a while.

Or make the key with the API
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 password

The 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

On a Mac

Mail, then Add Account, then Other Mail Account.

On iPhone

Settings, Apps, Mail, Mail Accounts, Add Account, then Other.

Name, address, key

Type the inbox address, and paste the key as the password.

Enter the servers

Pick IMAP. Incoming imap.drin.run, outgoing smtp.drin.run, the inbox address as the user name for both.

Gmail

In the Gmail app

Add another account, then Other. On Android pick Personal (IMAP). Enter the address and the key, then the servers.

Send as, on the web

Settings, Accounts and Import, Send mail as. SMTP smtp.drin.run, port 587, the address and the key.

Confirm the code

Gmail emails a code to the inbox. It lands in Drin: read it there, or let your agent read it.

Reading on the web

Gmail on the web fetches other accounts over POP, and Drin speaks IMAP. Read in the app or the dashboard.

Outlook

Add an account

New Outlook: Settings, Accounts, Add account. Classic Outlook: File, Add Account.

Choose IMAP

Enter the inbox address and, when asked, pick IMAP and set it up yourself.

Incoming

imap.drin.run, 993, SSL/TLS. The address and the key.

Outgoing

smtp.drin.run, 587, STARTTLS. The address and the key.

Thunderbird

Add the account

Enter the inbox address and the key as the password.

Enter the servers

If it asks, use the same servers as in the table above.

Any other app

Anything that speaks IMAP works the same way: the address as the user name, the key as the password.

One inbox a login

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?
No. Reading it in your mail app takes the 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?
Your mail app keeps working: it logs in with its own key, and pausing an agent stops only that agent's keys. Use a different key for your mail app than the one your agent holds.
What if my key is read only?
Then the mailbox opens read only: you can read, but marks and flags don't change, and SMTP won't send.
Can one key log in to several inboxes?
One login is one inbox. A key may be allowed several inboxes; add each as its own account in your mail app, with the same key or one per inbox.

See what your agent sees.

Start free. Open the inbox in Drin, go to Mail apps, create the key and add the account.