imap_update_message_flags
Update IMAP message flags by adding or removing labels like \Seen, \Flagged, or Important. Specify a message ID and at least one flag operation to change message state.
Instructions
Add or remove IMAP flags
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| add_flags | No | Flags to add (e.g., `\Seen`, `\Flagged`, `Important`) | |
| account_id | No | Account identifier (defaults to `"default"`) | default |
| message_id | Yes | Stable message identifier | |
| remove_flags | No | Flags to remove |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Tool-specific data payload | |
| meta | Yes | Execution metadata (timestamp, duration) | |
| summary | Yes | Human-readable summary of the operation outcome |