What is recorded
Each event has:
clientIp: the client’s IP address, from a source Inbound trusts (see allowed IP addresses).nullwhen Inbound has no trusted address.client: the client’s name and version from the IMAPIDcommand (for exampleThunderbird/128.0), or the first part of the HTTPUser-Agent. At most 100 characters. A sign-in event only has it when the client sendsIDbeforeLOGIN; some clients, such as Apple Mail, send it afterwards, and then the session’s later events (such assession_ended) carry it.countandlastOccurredAt: how many times the event repeated, and when it last did (see repeats and caps).detail: a few small fields when they help, such as the HTTP or SMTPstatus, a short errormessage, a session’sdurationMsandcommands, thesentEmailIdof a failed send, or thelimitthat was reached.
session_ended reasons mean:
What is never recorded
- Message content, subjects, headers or attachments
- Passwords or API keys
- Recipient or sender addresses. Error messages are shortened, and anything that looks like an email address is replaced with
[address] - Sign-in attempts for an address no credential uses: they don’t belong to any mailbox
Repeats and caps
- A successful sign-in from the same IP address and protocol within 10 minutes adds to the existing event’s
countinstead of creating a new event. HTTP requests authenticated with the mailbox password are recorded at most once per IP address per 10 minutes, without counting each request. - Wrong passwords and refused sign-ins from the same IP address are grouped per minute, and IMAP command errors per session per minute.
- Inbound stores at most 600 events per credential per hour. Further events in that hour are counted in a single
events_droppedevent, so a client retrying a wrong password many times can’t flood the log. - Inbound re-checks open IMAP sessions every few minutes; those checks aren’t recorded as sign-ins.
Read the activity log
GET /mailboxes/{id}/activity lists one mailbox’s events, newest first. GET /mailboxes/activity lists events for every mailbox in the account; add mailboxId to narrow it to one.
Let mailbox users read their own activity
By default only the account can read the activity log. SetselfService.activity to true to let the mailbox’s own password read its log at /mailboxes/me/activity (with the same filters):
403. A mailbox password can never read GET /mailboxes/activity or another mailbox’s log.
Access and Limits
Protocol toggles, allowed IP addresses, quotas and self-service.
Manage Credentials
Create, update, disable and rotate credentials.