List inbox
list_messagesRetrieve messages received by an address, newest first, showing sender, topic, read state, size, attachments, and previews. Filter unread or include reactions to scan an inbox.
Instructions
List messages received by this address, newest first. Each item carries the id, sender, recipients, topic, time, read state, flags, size, attachment names and types, and a short preview. Reaction messages are hidden unless include_reactions is true, and hidden reactions never count as unread; listed reactions have their own read state (mark_read accepts them) and carry the emoji in reaction. Topics are set only on a thread's first message; get_thread reports a reply's thread_topic. Use get_message for a full body and get_thread for the conversation around a message.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | page size (host maximum 100) | |
| offset | No | number of newest messages to skip | |
| unread_only | No | keep only unread messages from the fetched page (reactions only with include_reactions) | |
| include_reactions | No | also list reaction messages (normally hidden) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | ||
| offset | Yes | ||
| messages | Yes | ||
| next_offset | Yes | offset for the next page, or null when this page was short | |
| untrusted_content_notice | No |