Delete Email Folder
emailfolders_deleteDelete a mail folder permanently, including all emails and subfolders, with user confirmation required to prevent accidental loss.
Instructions
🔴 Delete a mail folder permanently (always require user confirmation)
WARNING: This action permanently deletes the folder and all its contents (emails and subfolders) and cannot be undone.
Args: folder_id: The folder ID to delete account_id: Microsoft account ID confirm: Must be True to confirm deletion (prevents accidents)
Returns: Status confirmation
Raises: ValueError: If folder_id is invalid or confirm is False
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| folder_id | Yes | ||
| account_id | Yes | ||
| confirm | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||