search_messages
Search Gmail messages using native search syntax like from:, subject:, is:unread, and boolean operators. Returns full plain-text bodies, not snippets, to find emails fast.
Instructions
Search messages using Gmail's own search syntax.
query accepts exactly what you'd type into the Gmail search box: from:,
to:, subject:, after:YYYY/MM/DD, before:YYYY/MM/DD, has:attachment,
is:unread, is:starred, label:name, and boolean operators (OR, -exclude,
quoted "exact phrases"). Leave query empty to list recent mail instead.
Each result includes the extracted plain-text body, not just a snippet.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | ||
| label_ids | No | ||
| page_token | No | ||
| max_results | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||