mail_list_messages
List messages newest UID first in one folder across its retained history, returning metadata and stable cursor pagination to page through all results.
Instructions
List messages newest UID first in one folder, through its entire retained history with no date cutoff. Returns metadata and stable account/folder/UIDVALIDITY-scoped pagination. Continue nextCursor even when a page is empty. Read folders first and repeat per folder to cover the account. Results exceeding 64 KiB are saved completely to a private JSON file and return a compact summary with completeResultFile.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cursor | No | ||
| folder | Yes | ||
| pageSize | No | ||
| accountId | Yes |