Search emails
search_emailsSearch a mailbox folder by sender, recipient, subject, message text, date range, or read status; results return newest first.
Instructions
Searches one mailbox folder by sender, recipient, subject, words in the message, date range or read status. Results are newest first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Recipient address contains this text. | |
| from | No | Sender name or address contains this text. | |
| text | No | Message body contains this text. | |
| limit | No | Maximum results. Defaults to 20. | |
| since | No | On or after this date: "today", "yesterday", "30d" or 2026-10-01. | |
| before | No | Before this date (same formats as since). | |
| folder | No | Folder to look in. Defaults to the inbox. Accepts "inbox", "sent", "drafts", "trash", "spam", "archive" or an exact folder name from list_folders. | |
| account | No | Which mailbox to use, by its name or email address. Configured: "Example". Can be left out, there's only one. | |
| subject | No | Subject contains this text. | |
| unread_only | No | Only unread messages. | |
| flagged_only | No | Only flagged/starred messages. | |
| include_previews | No | Include a short preview of each message. Turn off for faster large searches. |