email_delete
Delete a specified email by moving it to trash, or permanently remove it from an account when requested.
Instructions
Delete an email (moves to trash by default, or permanently deletes)
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": {
"accountId": "<accountId>",
"emailId": "<emailId>"
},
"name": "email_delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| emailId | Yes | ||
| accountId | Yes | ||
| permanent | No | ||
| sourceFolder | No | Source folder (required for IMAP/iCloud when email is not in INBOX) |