List Messages
get_agentmail_inbox_messagesLists messages in one inbox, newest first. Returns count, limit, next_page_token and messages; page with next_page_token. Each message carries message_id, thread_id, labels, timestamp, from, to, cc, bcc, subject and a preview; full bodies come from get_agentmail_inbox_message. To search rather than page, use get_agentmail_inbox_messages_search; to group by conversation, get_agentmail_inbox_threads.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | Timestamp after which to filter by. | |
| limit | No | Limit of number of items returned. | |
| before | No | Timestamp before which to filter by. | |
| labels | No | Labels to filter by. | |
| inbox_id | Yes | The ID of the inbox. | |
| ascending | No | Sort in ascending temporal order. | |
| page_token | No | Page token for pagination. | |
| include_spam | No | Include spam in results. | |
| Authorization | Yes | Bearer authentication | |
| include_trash | No | Include trash in results. | |
| include_blocked | No | Include blocked in results. | |
| include_unauthenticated | No | Include unauthenticated in results. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||