List messages
nylas_list_messagesList email messages for the connected account, with optional filters. Nylas v3: GET /v3/grants/{grant_id}/messages.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| in | No | Filter by folder id. | |
| to | No | Filter by recipient email address. | |
| from | No | Filter by sender email address. | |
| limit | No | Max messages to return. | |
| unread | No | If set, filter by unread status. | |
| starred | No | If set, filter by starred status. | |
| subject | No | Filter by subject. | |
| grant_id | No | Connected-account grant id. Overrides NYLAS_GRANT_ID for this call. | |
| page_token | No | Pagination cursor (next_cursor from a prior page). | |
| search_query_native | No | Provider-native search query string. |