search_emails
Search email metadata using filters for sender, recipient, subject, text, date, and read status. Retrieve up to 500 results in stable mailbox order with optional paging.
Instructions
Search 1-500 metadata rows in stable mailbox order with optional paging.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| read | No | ||
| text | No | ||
| after | No | ||
| limit | No | ||
| before | No | ||
| cursor | No | ||
| fields | No | ||
| sender | No | ||
| starred | No | ||
| subject | No | ||
| accounts | Yes | ||
| mailboxes | No | ||
| recipient | No | ||
| attachment_filename | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order | Yes | ||
| errors | Yes | ||
| results | Yes | ||
| truncated | Yes | ||
| next_cursor | Yes | ||
| targets_pending | Yes | ||
| targets_searched | Yes |