sch_search_mail
Search Greek school mail messages by keyword in subject, sender, or body to find relevant emails in a folder, with optional date and account filters.
Instructions
Search messages by keyword in subject, sender, or body.
Result ids are IMAP UIDs, the same ids sch_list_mail returns.
Args: query: Search text (case-insensitive) folder: Mailbox folder (default: INBOX) field: Where to search: "subject", "from", "body", or "all" (default: subject) since: Only search after this date (YYYY-MM-DD) top: Max results (default: 20) account: Account key in credentials.json (e.g. "personal" or "work"). Default: the account named by "default" in that file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | ||
| field | No | subject | |
| query | Yes | ||
| since | No | ||
| folder | No | INBOX | |
| account | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |