delete_mailbox
Permanently delete an email mailbox and all its contents. This action cannot be undone; verify the folder path first.
Instructions
⚠️ DESTRUCTIVE: Permanently delete a mailbox and ALL its contents. This cannot be undone. Use list_mailboxes to verify the folder path.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"account": "<account>",
"path": "<path>"
},
"name": "delete_mailbox"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Folder path to delete (⚠️ all emails inside will be lost) | |
| account | Yes | Account name from list_accounts |