flag_thread
Apply or remove IMAP flags on all emails in a thread simultaneously, streamlining conversation management like marking read or starred.
Instructions
Add or remove IMAP flags across all messages in a thread. Use to mark an entire conversation read, starred, etc. in one operation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| messageId | Yes | RFC 5322 Message-ID. | |
| flagsToAdd | No | ||
| flagsToRemove | No | ||
| acrossFolders | No | ||
| dryRun | No |