gmail_search
Search Gmail using Gmail's query syntax (from:, to:, has:attachment, newer_than:7d, is:unread). Returns message IDs and snippets, enabling quick identification of relevant emails before fetching full bodies.
Instructions
Search the mailbox with Gmail's own query syntax (from:, to:, subject:, has:attachment, newer_than:7d, is:unread). Returns message ids and snippets; use gmail_get_message for a full body.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | Yes | e.g. "from:sarah newer_than:30d has:attachment" | |
| max | No |