Mark Email Read
mark_email_readUse this when the user wants emails in the Mac's Apple Mail (Mail.app) marked as read, or as unread with unread=true: to note what was already handled, or to come back to a message later. Name the messages with message_id (one) or message_ids (up to 20), from list_emails, search_emails or read_email, and pass account= so they are found in the right account. A message counts as marked only when a second read shows the new state. Nothing is sent, moved or deleted, so it asks for no confirmation. For mail of a Microsoft 365 account, use m365_mark_email_read.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "mark_email_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unread | No | true marks them as unread (default false: as read). | |
| account | No | Mail.app account the messages live in (returned alongside the id). | |
| mailbox | No | Folder the messages are in. Passing it skips searching the other folders. | |
| message_id | No | The ID of one message to mark. | |
| message_ids | No | IDs of up to 20 messages to mark. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | ||
| unread | No | ||
| message | No | ||
| results | No | ||
| marked_count | No |