flag_message
Sets or clears a flag on an email message, with optional color index for categorization.
Instructions
Set or clear the flag on a message. Optionally specify a flag colour index.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| messageId | Yes | The numeric ID of the message | |
| mailboxName | Yes | The name of the mailbox containing the message | |
| accountName | Yes | The name of the account containing the mailbox | |
| flagged | Yes | Whether to flag (true) or unflag (false) the message | |
| flagIndex | No | The flag colour index (optional, default -1) |