search_emails
Find emails in a BlueMind mailbox by full-text query, filtering by subject, sender, attachments, or read state. Restrict to a folder, paginate results, and return message IDs for further reading.
Instructions
Full-text search of emails in the BlueMind mailbox. The query uses Elasticsearch query_string syntax: plain words search the message body, and fields can be targeted, e.g. subject:report, from:alice, to:bob@example.org, has:attachments, is:unread — combinable with AND/OR (e.g. subject:réunion AND from:pierre). By default all folders are searched; restrict with folder_uid or folder_name. Returns folder_uid + item_id usable with read_email.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max results (default 20) | |
| query | Yes | Search query (Elasticsearch query_string syntax) | |
| offset | No | Pagination offset | |
| folder_uid | No | Restrict to this folder uid (from list_mail_folders) | |
| folder_name | No | Restrict to this folder by full name, e.g. "INBOX" or "Sent" |