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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"uid": "<uid>",
"action": "<action>"
},
"name": "proton_flag_email"
}
}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) |