mark_emails_as_read
Mark one or more emails as read by providing their email IDs. Retrieve the IDs with list_emails_metadata, then update their status.
Instructions
Mark one or more emails as read by email_id. This is the common-workflow equivalent of adding \Seen with set_email_flags. Use list_emails_metadata first. Partial or ambiguous effects report per-ID succeeded/failed/unknown status and are not retried automatically.
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": {
"account_name": "<account_name>",
"email_ids": "<email_ids>"
},
"name": "mark_emails_as_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mailbox | No | The mailbox containing the emails. | INBOX |
| email_ids | Yes | List of email_id to mark as read (obtained from list_emails_metadata). | |
| account_name | Yes | The name of the email account. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |