search_emails
Search emails across multiple accounts using criteria like date, sender, subject, attachments, or unread status to find specific messages quickly.
Instructions
Search emails with various criteria across all accounts or specific account. Returned UIDs must be used with the same account; specify account_id for precise targeting.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Search query text | |
| search_in | No | Where to search (default: 'all') | all |
| date_from | No | Start date (YYYY-MM-DD format) | |
| date_to | No | End date (YYYY-MM-DD format) | |
| folder | No | Folder to search in (default: 'all' for all folders) | all |
| unread_only | No | Only search unread emails | |
| has_attachments | No | Filter by attachment presence | |
| limit | No | Maximum results (default: 50) | |
| offset | No | Number of results to skip for pagination (default: 0) | |
| account_id | No | Search specific account only |