scan_mailbox
Scans a Yahoo Mail account's folders to extract sender, subject, date, and size from headers, enabling review and management of messages without downloading bodies.
Instructions
Scan a Yahoo account's folders, pulling header-level data only.
Does all the heavy lifting internally: fetches sender, subject, date, size and List-Unsubscribe headers in batches, and persists them to the local database. Progress is checkpointed continuously, so if the scan is interrupted, calling this tool again resumes where it left off. Once a folder has been fully scanned, later calls only pick up new mail.
By default scans all folders except Trash, Drafts and Sent. Pass
folders to scan specific ones, or max_messages to cap this run
(useful for a first validation pass).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | Yes | ||
| folders | No | ||
| max_messages | No |