zoho_delete_email
Delete an email by moving it to Trash for recovery, or permanently remove it with expunge=true when the server permits.
Instructions
Delete an email. By default it is moved to Trash (recoverable). expunge=true deletes permanently and only works when the server is started with ZOHO_ALLOW_PERMANENT_DELETE=true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| expunge | No | Permanently delete instead of moving to Trash | |
| folderId | Yes | Folder ID (from zoho_list_folders). Pass as a string — Zoho IDs are 64-bit and lose precision as JSON numbers. | |
| messageId | Yes | Message ID (from zoho_list_emails / zoho_search_emails). Pass as a string — Zoho IDs are 64-bit and lose precision as JSON numbers. |