delete_folder
Remove a custom email folder without losing its messages; mail automatically returns to the Inbox or Sent view.
Instructions
Delete a custom folder. Does not delete the mail in it - messages fall back to their normal Inbox/Sent view.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Folder id, from list_folders | |
| domain | Yes | A domain, e.g. example.com | |
| localPart | Yes | The part before @, e.g. "hello" for hello@example.com |