Mailbox.retired
Emitted each time a Mailbox is retired.
Mailbox.retire emits Mailbox.retired when it completes on a Mailbox.
| Property | Value |
|---|---|
| Emitted by | Mailbox.retire |
| Noun | Mailbox |
| Moves | Mailbox warming to retired; Mailbox active to retired; Mailbox resting to retired |
| Wakes | None. |
Payload
Each delivery is an Event record. data holds what Mailbox.retire returns, and previous holds the state it left.
| Field | Type | Required | Description |
|---|---|---|---|
name | string | required | Mailbox.retired. |
at | datetime | required | When it happened. |
seq | integer | Its position in the namespace, one more than the Event before; any seq is a cursor into the history. | |
data | json | required | The Thing as the Action left it. |
data.mailbox | Mailbox | required | The retired Mailbox. |
data.mailbox.medium | string | required | The platform type, such as email, sms, or chat. |
data.mailbox.organization | Organization | The outside Organization the Channel is shared with; its new Messages open Conversations for that Customer. | |
data.mailbox.external | boolean | True when people from another Organization post in it, as in a channel two companies share. | |
data.mailbox.areaCode | string | For an sms Channel, the phone area code its number is drawn from, such as 512. | |
data.mailbox.number | string | For an sms Channel, its phone number in international form, assigned when it is created. | |
data.mailbox.address | email | required | The email address. |
data.mailbox.stream | string | required | What it sends: receipts and resets, broadcasts, or cold outbound; one stream per Mailbox. |
data.mailbox.dailyCap | integer | Sends allowed today, raised by the warmup ramp and cut by the brakes. | |
data.mailbox.status | string | Where the Mailbox stands in its warmup and rest cycle. | |
data.mailbox.tenant | Tenant | The Tenant it sends for, at a Domain that Tenant’s Customer holds; replies land in the Tenant’s Threads. | |
data.previous.status | string | required | The status before this Event: warming. |
Example
{
"$id": "https: //api.sb/ tutorloop.com/ events/ event_1",
"$type": "Event",
"name": "Mailbox.retired",
"at": "2026-10-22T12: 00: 00Z",
"data": {
"mailbox": {
"$id": "https: //api.sb/ tutorloop.com/ mailboxes/ mailbox_1",
"$type": "Mailbox",
"medium": "email",
"organization": "organization_1",
"external": true,
"areaCode": "Example area code",
"number": "Example number",
"address": "malik@tutorloop.com",
"stream": "transactional",
"dailyCap": 1,
"status": "retired",
"tenant": "tenant_1"
},
"previous": {
"status": "warming"
}
},
"seq": 1
}