IMAP access
An IMAP server for your inbox, in the mail app you already use.
The inbox your agent reads through the API opens in Outlook, Apple Mail and Thunderbird too. Point the app at our IMAP server, sign in with the inbox address and an API key, then read, search and mark mail like in any other mailbox. IMAP is part of the paid plans.
IMAP is on Starter, Pro and Scale. It reads and organises mail, and never deletes it.
Server: imap.billionsend.comPort: 993 (TLS) or 143 (STARTTLS)Username: orders@inbound.example.comPassword: bs_... (an API key with full access)openssl s_client -quiet -connect imap.billionsend.com:993a1 LOGIN orders@inbound.example.com bs_...a2 SELECT INBOXa3 FETCH 1:5 (FLAGS ENVELOPE)a4 LOGOUT// The user name is the inbox address. TLS is required on both ports.
- 993port, TLS from the first byte
- 143port, with STARTTLS
- 5connections at once on Starter
- 100connections at once on Scale
How it works
Connect your mail app to the IMAP server.
Three steps. The mail app holds no more power than its key.
- 01
Create an inbox and a key
Make an inbox and an API key with full access. Limit the key to that inbox, so the app can open that one mailbox and no other.
- 02
Add an IMAP account
Enter the IMAP server imap.billionsend.com, the inbox address as the user name and the key as the password. Use STARTTLS or TLS, whichever the app supports.
- 03
Read and organise
The IMAP server's folders follow the inbox, IDLE brings new mail within a moment, and read marks stay in step with the dashboard and the API.
Settings and limits
IMAP settings: what the mail app needs and what it gets.
Each IMAP account is one inbox. To read two inboxes, add two accounts.
| Setting | Value | Good to know |
|---|---|---|
| Host | imap.billionsend.com | The same host for every team |
| Port, TLS | 993 | TLS from the first byte |
| Port, STARTTLS | 143 | The client must issue STARTTLS before it logs in. A login in the clear is refused |
| User name | The inbox address | One IMAP account per inbox |
| Password | An API key with full access | A key limited to one inbox opens only that inbox |
| Connections at once | 5 on Starter, 20 on Pro, 100 on Scale | Counted across the team. Free has no IMAP |
In your code
Choose which inboxes a key can open.
The password is an API key, so its limits are the mail app's limits.
- inbox_idA key limited to one inbox opens only that inbox. Give each person or agent a key of its own, and revoke it to end access.
- domain_idA key limited to one domain opens only the inboxes on that domain.
- full_accessA team-wide key opens any inbox of the team. It is the permission IMAP needs.
- sending_accessA sending-only key cannot read mail over the API, and cannot log in over IMAP either.
- revokedA revoked key ends the session at its next command, and so does a key whose creator left the team.
{ "name": "Mail app for orders", "permission": "full_access", "inbox_id": "7eeb9517-aed7-40d7-ad65-500be42ed147"}Where it fits
Use the IMAP server where a person reads the inbox.
- 01
Follow an agent's inbox
Watch what an agent receives in the mail app you already use, without opening the dashboard.
- 02
Triage on a phone
Open the same inbox in the mail app on your phone, mark messages read and star the ones that matter.
- 03
Search a mailbox
Search by sender, recipient, subject, date and words in the text, and read old threads in a client you know.
- 04
Shared support inbox
Give each person an account and a key limited to the inbox, and revoke a key when someone leaves.
Before you ship
Plan for refusals, limits and cost.
NO [CANNOT]Free has no IMAP
A login on the Free plan is refused. A team on an unclaimed agent account is on Free. After a downgrade, an open connection ends at its next command.
NO [LIMIT]Connections and searches
Past the plan's connections a login is refused. Mail clients open a few connections per account, so give each person or agent an account within the limit. A search over message content reads a limited number of messages, so narrow it with dates first.
Read onlyNo delete, move or upload
EXPUNGE, APPEND, COPY and MOVE are refused. Mail is deleted in the dashboard or the API, so a mail app cannot remove what your agent still needs.
CostPart of the paid plans
IMAP is part of Starter, Pro and Scale, with 5, 20 and 100 connections at once across the team.
Other ways in
When the mail app is not the whole story.
The same inbox, reached another way.
SMTP relay
The IMAP server only reads. To reply from the mail app, use the SMTP relay with the same key as the outgoing server.
SMTP relayAgent inboxes
The inbox your agent reads over the API, webhooks and MCP, with screening and approval rules guarding it.
Agent inboxes
FAQ
Questions, answered.
Something missing? Ask us at support@billionsend.com.


