get_recent_emails
Retrieve the most recent emails from Fastmail, excluding Trash and Spam. Optionally filter by mailbox, set limit, and sort order.
Instructions
Get the most recent emails across all mailboxes except Trash and Spam (pass mailboxName to scope to one folder, e.g. "inbox"). When the server reports a total match count, results are wrapped in a {"total", "items"} JSON envelope; otherwise a bare JSON array is returned.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Number of recent emails to retrieve (default: 10, max: 50) | |
| ascending | No | Sort oldest first instead of newest first (default: false) | |
| mailboxName | No | Mailbox to search (optional; when omitted, all mailboxes except Trash and Spam are searched) |