# DeletedMailbox

The DeletedMailbox type of the TypeScript SDK, which identities.list take or answer.

```ts
type DeletedMailbox = {
  accountId: string | null
  deletedAt: number
  id: string
  primaryAddress: string | null
  quotaBytes: number | null
  restorable: boolean
  restorableUntil?: number
  wipeDueAt: number
  wipeOverdue: boolean
}
```

## Fields

| Field | Type | Description |
| --- | --- | --- |
| `accountId` | `string` \| `null` | Account ID owning this mailbox, or null |
| `deletedAt` | `number` | Deletion timestamp in epoch seconds |
| `id` | `string` | Unique mailbox ULID |
| `primaryAddress` | `string` \| `null` | Primary email address assigned to this mailbox, or null |
| `quotaBytes` | `number` \| `null` | Storage quota in bytes, or null |
| `restorable` | `boolean` | True if the mailbox can still be restored |
| `restorableUntil` | `number` | Optional. Timestamp until which restore is allowed in epoch seconds |
| `wipeDueAt` | `number` | Scheduled timestamp when data will be permanently wiped in epoch seconds |
| `wipeOverdue` | `boolean` | True if permanent wipe is overdue |

## Used by

| Method | What it does |
| --- | --- |
| [`identities.list`](/docs/sdks/typescript/identities/list) | List mailboxes |
