bulk_email_action
Batch-process multiple emails at once: mark read/unread, flag, move, or delete. Streamline email management with bulk actions.
Instructions
Perform an action on multiple emails at once. Supports marking as read/unread, flagging/unflagging, moving, and deleting.
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": {
"emailIds": "<emailIds>",
"action": "<action>"
},
"name": "bulk_email_action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Action to perform: mark_read, mark_unread, flag, unflag, move (requires mailboxId), delete (move to Trash), or permanent_delete | |
| emailIds | Yes | Array of email IDs to act on (maximum 100) | |
| mailboxId | No | Destination mailbox ID (required when action is 'move') |