delete_email
Remove unwanted emails from any Zoho Mail folder by providing account, folder, and message IDs. Optionally expunge to permanently delete.
Instructions
Delete an email.
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_id": "<account_id>",
"folder_id": "<folder_id>",
"message_id": "<message_id>"
},
"name": "delete_email"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| expunge | No | ||
| folder_id | Yes | ||
| account_id | Yes | ||
| message_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | Response data | |
| error | No | Error message if any | |
| success | Yes | Whether the operation was successful | |
| status_code | No | HTTP status code |