Search Emails
proton_search_emailsSearch Proton Mail emails by sender, recipient, subject, date range, body content, or unread status using multiple criteria with AND logic.
Instructions
Search emails by sender, recipient, subject, date range, body content, or unread status. Multiple criteria are combined with AND logic.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| folder | No | INBOX | |
| from | No | ||
| to | No | ||
| subject | No | ||
| since | No | ||
| before | No | ||
| body | No | ||
| unseen_only | No | ||
| limit | No | ||
| offset | No |
Implementation Reference
- src/schemas/index.ts:17-28 (schema)Input validation schema for 'proton_search_emails'.
export const SearchEmailsSchema = z.object({ folder: z.string().default('INBOX'), from: z.string().optional(), to: z.string().optional(), subject: z.string().optional(), since: z.string().datetime().optional(), before: z.string().datetime().optional(), body: z.string().optional(), unseen_only: z.boolean().default(false), limit: z.number().int().min(1).max(100).default(20), offset: z.number().int().min(0).default(0), });