search_gmail_messages
Search Gmail messages using queries and operators to find specific emails, returning message IDs, thread IDs, and web links for verification.
Instructions
Searches messages in a user's Gmail account based on a query. Returns both Message IDs and Thread IDs for each found message, along with Gmail web interface links for manual verification. Supports pagination via page_token parameter.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | The search query. Supports standard Gmail search operators. | |
| user_google_email | Yes | The user's Google email address. Required. | |
| page_size | No | The maximum number of messages to return. Defaults to 10. | |
| page_token | No | Token for retrieving the next page of results. Use the next_page_token from a previous response. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |