flag-email
Add or remove IMAP email flags by UID to mark messages as read, flagged, or important. Specify a mailbox to manage message status in your inbox or other folders.
Instructions
Adds or removes flags on an email message by UID
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>",
"flags": "<flags>"
},
"name": "flag-email"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uid | Yes | ||
| flags | Yes | ||
| action | Yes | ||
| mailbox | No | INBOX |