Mailbox targeting for connected apps
Manual mailbox credentials always target their single mailbox. Omitmailbox_id when you use a manual smx_mbx_ credential.
Connected-app tokens can grant a set of mailboxes. Use GET /mailbox/mailboxes to list or search the granted set, then pass the selected mailbox’s id as mailbox_id on Mailbox API requests.
Self-registered agent tokens target their assigned mailbox. Omit mailbox_id when you use a durable read smx_agent_ token. The durable token can read and receive mail, but it cannot send. After owner acceptance and approval, exchange it for a one-hour smx_agent_ token with email.send before sending from the assigned mailbox.
mailbox_id, Sendmux returns 400 missing_parameter. If you pass a mailbox outside the grant, Sendmux returns 403 insufficient_permissions.
Capability discovery
UseGET /mailbox/session before planning a mailbox workflow. It returns the
selected mailbox, supported Mailbox API features, current state
tokens, request limits, and gated features. A gated feature is intentionally
unavailable through the Mailbox API.
gated fields are true when a feature is intentionally unavailable.