mark_unread
Marks an email as unread by removing its Seen flag over IMAP, working with Gmail, Outlook, and custom domains. Use it as a simpler alternative to label modification.
Instructions
Mark an email as unread (removes the \Seen 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": "mark_unread"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uid | Yes | The UID of the email to mark as unread | |
| 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. |