unstar
Remove the flagged or starred status from an email over IMAP, including Gmail, Outlook, and custom domains. Clear the flag without changing labels.
Instructions
Unstar (unflag) an email (removes the \Flagged flag) via IMAP — works with Gmail, Outlook, and custom domains. Simpler alternative to modify_labels.
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": {
"accountId": "<accountId>",
"uid": "<uid>"
},
"name": "unstar"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uid | Yes | The UID of the email to unstar | |
| folder | No | The folder containing the email (default: INBOX) | |
| accountId | Yes | The ID of the account to use | |
| confirmationId | No | Confirmation token from a prior confirmation-required response. Required to execute write operations when server is in --confirm mode. |