searchEmails
Find emails across multiple folders using keywords, date ranges, sender/recipient filters, subject, and attachment status to retrieve matching messages.
Instructions
Search for emails across multiple folders using keywords, date ranges, sender/recipient filters. Provides comprehensive email search capabilities.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | ||
| from | No | ||
| endDate | No | endDate must be a valid ISO 8601 datetime string. e.g. 2025-08-21T00:00:00Z | |
| folders | No | By default, this parameter is not given. Give the user an array of folders to search, for example ['INBOX', 'BACKUP'] | |
| subject | No | ||
| keywords | No | ||
| startDate | No | startDate must be a valid ISO 8601 datetime string. e.g. 2025-08-21T00:00:00Z | |
| maxResults | No | ||
| includeBody | No | ||
| hasAttachment | No |