search_emails
Search and filter emails in your Google Workspace account using advanced Gmail queries. Retrieve specific messages by sender, recipient, subject, attachments, date range, or unread status, with customizable result limits.
Instructions
Search emails with advanced query
Input Schema
Name | Required | Description | Default |
---|---|---|---|
maxResults | No | Maximum number of emails to return (default: 10) | |
query | Yes | Gmail search query (e.g., "from:example@gmail.com has:attachment"). Examples: - "from:alice@example.com" (Emails from Alice) - "to:bob@example.com" (Emails sent to Bob) - "subject:Meeting Update" (Emails with "Meeting Update" in the subject) - "has:attachment filename:pdf" (Emails with PDF attachments) - "after:2024/01/01 before:2024/02/01" (Emails between specific dates) - "is:unread" (Unread emails) - "from:@company.com has:attachment" (Emails from a company domain with attachments) |
Input Schema (JSON Schema)
You must be authenticated.
Other Tools from Google Workspace MCP Server
Related Tools
- @epaproditus/google-workspace-mcp-server
- @shinzo-labs/gmail-mcp
- @erickva/google-workspace-mcp-server-no-calendar-deletetion
- @kazuph/mcp-gmail-gas
- @shinzo-labs/gmail-mcp