bulk_delete_by_subject
Delete all emails matching a subject pattern. Bulk remove messages by subject keyword from a specified mailbox, with an optional dry run to preview changes.
Instructions
Delete all emails matching a subject pattern
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": {
"subject": "<subject>"
},
"name": "bulk_delete_by_subject"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dryRun | No | If true, report exactly what would change and do not modify anything | |
| mailbox | No | Mailbox (default INBOX) | |
| subject | Yes | Subject keyword to match |