Search Messages
get_agentmail_inbox_messages_searchFull-text search across one inbox's messages. Returns count, limit, next_page_token and messages; page with next_page_token. Same message fields as get_agentmail_inbox_messages, which is the one to use when you want everything in date order rather than a query. Searching conversations instead of individual messages is get_agentmail_inbox_threads_search.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | Yes | Full-text search query. Matched against the sender, recipients, and subject (substring) and the message body (tokenized full text). | |
| after | No | Timestamp after which to filter by. | |
| limit | No | Limit of number of items returned. | |
| before | No | Timestamp before which to filter by. | |
| inbox_id | Yes | The ID of the inbox. | |
| page_token | No | Page token for pagination. | |
| Authorization | Yes | Bearer authentication |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||