update_message
Modify an existing email's read state, flag, importance, or categories in place. Use this to update message properties without moving it between folders.
Instructions
Patch a message's read state / flag / importance / categories.
For moving a message between folders, prefer move_message (clearer
intent). This tool patches in-place; setting parent_folder_id here
works but is not the primary path.
Returns the trimmed updated message.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flag | No | ||
| is_read | No | ||
| mailbox | No | ||
| categories | No | ||
| importance | No | ||
| message_id | Yes | ||
| include_raw | No | ||
| parent_folder_id | No |