Flag / unflag emails
proton_flag_emailToggle email flags: set as read, unread, starred, or unstarred. For custom flags, add or remove them directly.
Instructions
Toggles per-message flags. Supported: 'read', 'unread', 'starred', 'unstarred'. For custom flags, pass add_flags/remove_flags directly.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uid | Yes | ||
| action | Yes | Shorthand action | |
| mailbox | No | INBOX | |
| add_flags | No | Custom flags to add (action=custom only) | |
| remove_flags | No | Custom flags to remove (action=custom only) |