delete_emails
Moves specified email messages to Trash by UID, optionally from a chosen folder and account, so they can be recovered and are never permanently deleted.
Instructions
Delete emails by moving them to Trash (recoverable; never permanent).
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": {
"uids": "<uids>"
},
"name": "delete_emails"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uids | Yes | Message UIDs from search_emails | |
| folder | No | Folder path from list_folders | INBOX |
| account | No | Mailbox: WORK | PERSONAL. Default WORK |