flag_email
Mark an email as flagged or remove its flag to manage inbox priorities. Provide the email ID and set flagged to true for star or false to unstar.
Instructions
Flag (star) or unflag an email.
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": {
"id": "<id>",
"flagged": "<flagged>"
},
"name": "flag_email"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The email id. | |
| account | No | Which configured account the email belongs to. | |
| flagged | Yes | true to flag/star, false to remove the flag. |