Mailbox

Properties

Every field, what it means, and the two that are easiest to misread.

quota is sharedavatar is absolutealiasList is read-only
Using Python?

Switch any code block to Python: the choice applies to every page. Python SDK guide and resource reference.

idstring

The identifier.

addressstring

The full address.

local · hoststring

Before and after the at sign.

namestring

The display name used when it writes.

avatarstring|null

An absolute address for its picture.

avatarSourcestring|null

mailbox · account · null.

signatureobject|null

{ html, image }.

sourcestring

iagenify or imap.

usedBytes · quotaBytesinteger

See below.

aliasListstring[]

Read-only. Change it with aliases.add and aliases.remove.

forwardTostring[]

Where copies go.

catchAllboolean

Unknown addresses on the host land here.

status · lastMessageAt · createdAt

State and dates.

dataobject

Everything the platform returned, with the absolute picture address.

quotaBytes is the account's, not this mailbox's

Three mailboxes show the same number

A mailbox has no space of its own: it consumes the account's object storage, shared with files and with whatever hosts keep online. Showing it as « this mailbox's quota » makes a full account look like three full mailboxes.

avatar is absolute on purpose

The address is made absolute when the object is built, so an interface can render it from wherever it runs. A relative one would be looked for on the page's own origin.

It is stable and cacheable, not a short-lived signed link — a signed one would die in a list left open, as message attachments do.

source exists for what comes later

imap is in the shape already so a mailbox hosted elsewhere can appear beside one here without changing a page or a call.

aliasList is a view

Writing to it changes nothing. aliases.add() and aliases.remove() are the calls, and both refresh the object.