flag_email
Mark emails as flagged, important, or answered to organize your inbox and track priority messages across multiple email accounts.
Instructions
Flag/star or unflag an email. Runs against the live mailbox—account_id recommended to avoid cross-account lookups.
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": {
"email_id": "<email_id>",
"flag_type": "<flag_type>"
},
"name": "flag_email"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| email_id | Yes | Email ID to flag/unflag | |
| flag_type | Yes | Flag category to apply | |
| set_flag | No | Set to true to add the flag or false to remove it | |
| folder | No | Email folder | INBOX |
| account_id | No | Specific account ID |