imap_bulk_update_flags
Update IMAP flags (Seen, Flagged) for up to 500 messages in one bulk call. Specify message IDs and add or remove tags to streamline mailbox state changes.
Instructions
Update flags on up to 500 messages in one operation
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| add_flags | No | Flags to add (e.g., `\\Seen`, `\\Flagged`) | |
| account_id | No | Account identifier (defaults to `"default"`) | default |
| message_ids | Yes | List of stable message identifiers (all must be from the same mailbox) | |
| 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 |