search_messages
Search message summaries using explicit filters. Use nextCursor for more results; query is plain text, not Gmail search syntax.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | Inclusive received-time lower bound. | |
| limit | No | Maximum summaries returned per page. | |
| query | No | Literal substring in subject, sender or indexed text; not a search DSL. | |
| before | No | Exclusive received-time upper bound. | |
| cursor | No | Opaque nextCursor from the previous page with the same filters. | |
| folder | No | Exact existing IMAP folder name. | |
| unread | No | True selects unread messages; false selects read messages. | |
| flagged | No | Filter by flagged state. | |
| refresh | No | indexed reads the index; bounded refreshes one specified folder batch first. | indexed |
| threadId | No | Opaque server-provided thread identifier. | |
| mailboxId | Yes | EPST mailbox UUID, not an email address or RFC Message-ID. | |
| hasAttachments | No | Filter by attachment presence. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||