delete_email
Deletes one or more emails by UID, moving them to trash by default or permanently removing them when permanence is requested. Handles single or multiple messages in any folder.
Instructions
Delete one or more messages (uids = a single uid OR a list), by default into the trash.
permanent=True deletes for good instead of moving to the trash - cannot be undone, only use with explicit confirmation.
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_email"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uids | Yes | ||
| folder | No | INBOX | |
| permanent | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |