query_gmail_emails
Retrieve Gmail emails using search queries such as 'is:unread' or 'from:example@gmail.com'. Returns results sorted by newest first.
Instructions
Query Gmail emails based on an optional search query. Returns emails in reverse chronological order (newest first).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_id | Yes | The EMAIL of the Google account. Choose from: | |
| query | No | Gmail search query (e.g., 'is:unread', 'from:example@gmail.com') | |
| max_results | No | Maximum number of emails (1-500, default 100) |