Update mail
mail_updateUpdate one or many Outlook emails: mark read/unread, flag, replace categories, move, or delete to Deleted Items; use filters to apply changes in bulk.
Instructions
Mark read/unread, flag, replace categories, move, or delete (to Deleted Items) one or many mails.
Give mail_refs, or where to change all matching mails in one call (e.g. all unread Renovate
mails). A single move shows the new ref.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "mail_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flag | No | set | clear | complete. | |
| read | No | true = mark read, false = mark unread. | |
| where | No | Instead of refs: update every mail matching this filter. | |
| delete | No | Move to Deleted Items (also discards drafts). | |
| move_to | No | Target folder, e.g. 'Inbox/Projects'. | |
| mail_refs | No | One or more mail refs. | |
| max_items | No | Upper limit for `where` (default 50). | |
| categories | No | Replace categories ([] removes all). |