Search the inbox by subject or sender substring and return message pointers—ID, summary, deeplink, and folder—for body retrieval. Read-only; scans inbox only.
Instructions
Search the Mail inbox by subject OR sender substring. Pointers: id = the stable
RFC822 message-id, summary = subject — sender, deeplink = a message:// URL,
folder = "inbox" (this scans the inbox only) — pass that folder straight to
mail_body. Prefer mail_search, which reaches every mailbox and reports the
account. Returns {results, truncated?} — truncated means the 25-message cap was
reached and there may be more. Read-only; needs Automation access for Mail. Bodies
are never fetched.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||