search_emails
Search for emails across one or all mailboxes using sender, subject, or date filters, returning summaries with message references for follow-up actions.
Instructions
Search for emails matching criteria across one or all mailboxes. Returns message summaries with message_ref fields for use with other tools. At least one filter (from_filter, subject_filter, after_date, before_date) should be provided.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of results (max 100). | |
| account | No | Account to search, e.g. "iCloud". Use "ALL" to search all accounts. Defaults to "ALL". | |
| mailbox | No | Mailbox to search, e.g. "INBOX". Use "ALL" to search all mailboxes in the account. Defaults to "INBOX". | |
| after_date | No | Only return messages received after this date. ISO 8601 format: "YYYY-MM-DD". | |
| before_date | No | Only return messages received before this date. ISO 8601 format: "YYYY-MM-DD". | |
| from_filter | No | Substring match on sender name or address. | |
| subject_filter | No | Substring match on subject line. |