prepare_empty_folder
Prepares a mail folder for emptying by deleting all its messages. Returns a preview with message count and an approval token for confirming the deletion.
Instructions
Prepare to empty a mail folder by deleting all its messages. Returns a preview of the folder (with message count) and an approval token. Call confirm_empty_folder with the token to execute. Returns an error if the folder ID does not exist. The token expires after 5 minutes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| folder_id | Yes | The folder ID to empty (e.g., from list_folders) |