await box.remove();box.remove()What goes
- The mailbox and its messages.
- Its aliases — addresses that landed here.
- Its routing, and its forwarding.
Mail sent afterwards is refused at the door
Not accepted and bounced later. Accepting for an address that no longer exists and bouncing afterwards is what damages a sending reputation — for everyone, not only for that account.
The host stays enabled
The domain's records are untouched, so another mailbox can be created on it right away.
The space comes back
Its messages and attachments are released into the account's object storage, and a place opens in the plan.
Export first if it matters
There is no undo and no archive. messages.list() paged through is the way to take a copy before deleting.