flag_message
Set or remove a flag on an email message in Apple Mail, optionally specifying a color index to mark importance or categorize the item.
Instructions
Set or clear the flag on a message. Optionally specify a flag colour index.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flagged | Yes | Whether to flag (true) or unflag (false) the message | |
| flagIndex | No | The flag colour index (optional, default -1) | |
| messageId | Yes | The numeric ID of the message | |
| accountName | Yes | The name of the account containing the mailbox | |
| mailboxName | Yes | The name of the mailbox containing the message |