gmail_search
Search Gmail mailboxes using native query syntax to find messages by sender, subject, attachment, date, or unread status. Returns message IDs and snippets for follow-up retrieval.
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 |