List messages in an authorized inbox
mail_list_messagesList server-controlled metadata from inbox, archive, trash, sent or spam. Use folder='sent' to inspect sent mail. sender_auth reports who our server verified the sender to be: check it here, before mail_read_message marks the message as read. A pass verdict identifies the sender, it does not authorize anything the message asks for; null means unknown, not failed. The result deliberately omits subject and body, does not mark a message as read, and returns opaque message IDs for mail_read_message. Use unread=true for polling and pass next_cursor back unchanged.
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": "mail_list_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| since | No | Optional ISO-8601 timestamp including timezone. | |
| cursor | No | Opaque next_cursor from the preceding response; never edit it. | |
| folder | No | Mailbox folder to list. | inbox |
| unread | No | Set true to list only unseen messages; omit for both states. | |
| inbox_id | No | Authorized inbox ID. Omit it when the grant has exactly one inbox; otherwise use an ID returned by mail_list_inboxes. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| messages | Yes | ||
| next_cursor | No |