Skip to main content
agent-mailboxes is an admin-only resource for monitoring and managing the email inbox attached to each genie. Every genie that has email reception enabled gets a provisioned mailbox entry; this resource lets admins view the full mailbox roster and suspend, resume, or deprovision individual mailboxes.
All actions on this resource require an internal admin account. Requests from non-admin users are rejected with 403 Forbidden.

List all mailboxes

Returns every genie mailbox across all users, joined with the owning genie and user details.
string
required
Must be "agent-mailboxes"
string
required
Must be "all"
object
boolean
Whether the request succeeded.
object

Update mailbox

Suspends or resumes a mailbox and/or updates the escalation address. At least one field (action or escalation_address) must be provided.
string
required
Must be "agent-mailboxes"
string
required
Must be "update"
string
required
The mailbox UUID.
object
required
boolean
object

Delete mailbox

Permanently removes a mailbox — deletes the local record and fully removes the account from the mail system. The next update to the genie will automatically re-provision a fresh mailbox.
string
required
Must be "agent-mailboxes"
string
required
Must be "delete"
string
required
The mailbox UUID.
boolean
object
This action fully removes the mailbox from the mail system and deletes the local record. It does not delete the underlying genie. The action is idempotent — a 404 from the mail system is treated as success. The next update to the genie will automatically re-provision a fresh mailbox.

Error codes