search_emails
Search Gmail messages using standard query syntax to find specific emails based on criteria like sender, subject, or read status.
Instructions
Search emails using Gmail query syntax
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| maxResults | No | Maximum number of results (default: 10) | |
| query | Yes | Gmail search query (e.g., 'is:unread', 'from:newsletter@example.com') |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"maxResults": {
"default": 10,
"description": "Maximum number of results (default: 10)",
"type": "number"
},
"query": {
"description": "Gmail search query (e.g., 'is:unread', 'from:newsletter@example.com')",
"type": "string"
}
},
"required": [
"query"
],
"type": "object"
}