email_batch_mark
Mark multiple emails at once as read, unread, starred, or flagged. Reduces time compared to applying individual marks to each message.
Instructions
Mark multiple emails at once (read/unread, starred, flagged). Much faster than individual marks.
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_mark"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| read | No | ||
| flagged | No | ||
| starred | No | ||
| emailIds | Yes | ||
| accountId | Yes | ||
| sourceFolder | No | Source folder (required for IMAP/iCloud when email is not in INBOX) |