email_batch_report_spam
Report multiple emails as spam or junk in one batch call instead of reporting them individually. Accepts up to 1000 email IDs per request across Gmail, Outlook, iCloud, and IMAP accounts.
Instructions
Report multiple emails as spam/junk at once. Much faster than individual calls.
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>",
"emailIds": "<emailIds>"
},
"name": "email_batch_report_spam"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| emailIds | Yes | Array of email IDs to report as spam | |
| accountId | Yes | ||
| sourceFolder | No | Source folder (required for IMAP/iCloud when emails are not in INBOX) |