Microsoft 365 Mark Email Read
m365_mark_email_readUse this when the user wants emails of their Microsoft 365 / Outlook account 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 m365_list_emails, m365_search_emails or m365_read_email. 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. Needs the Microsoft 365 permission Mail.ReadWrite: an account connected before it was asked for answers consent_required until it is connected again. For mail in the Mac's Mail app, use 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": "m365_mark_email_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unread | No | true marks them as unread (default false: as read). | |
| account | No | Which connected Microsoft 365 account to use: its email (UPN), its id from list_m365_accounts, or its display name when unique. Leave it out to use the default account. | |
| 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 | Yes | ||
| unread | Yes | ||
| account | No | The email (UPN) of the Microsoft 365 account this call used. | |
| message | Yes | ||
| results | Yes | ||
| marked_count | Yes |