delete_email
Remove unwanted emails by moving them to trash or permanently deleting them from your inbox across multiple email platforms.
Instructions
Delete a single email (move to trash or permanently delete). account_id optional but recommended.
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": {
"email_id": "<email_id>"
},
"name": "delete_email"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| email_id | Yes | Email ID to delete | |
| folder | No | Source folder (default: 'INBOX') | INBOX |
| permanent | No | Permanently delete instead of moving to trash | |
| trash_folder | No | Trash folder name (default: 'Trash') | Trash |
| account_id | No | Specific account ID (optional) |