List Proton messages
list_messagesList newest-first message metadata for a folder to browse or triage. Includes sender, subject, date, unread state, size. Does not mark messages as read.
Instructions
List newest-first message metadata for one folder. Use it to browse or triage a folder; to find messages by keyword use search_messages instead, and to obtain a body use read_message with a UID returned here. Each entry carries uid, sender, recipients, subject, date, message_id, unread state, and size, and never a body or attachment bytes. Fetches use BODY.PEEK, so listing never marks a message as read.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of messages to return, newest first. Defaults to 20. Older messages are simply omitted: there is no continuation cursor, so reach them with search_messages rather than by paging. | |
| folder | No | Folder to list, spelled exactly as list_folders reports it. Defaults to INBOX. An unknown name is refused rather than falling back to INBOX. | INBOX |
| unread_only | No | Return only messages currently flagged unread. Defaults to false. The flag is read, never written: listing leaves every message's unread state unchanged. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |