list_threads
Groups emails using the same subject into ordered threads with participant lists and message counts. Sort by most recent activity per folder, with pagination and configurable page size.
Instructions
List email threads (conversations) in a folder. Groups related emails by subject line. Returns threads sorted by most recent activity, with participant list and message count.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number for pagination | |
| folder | No | Folder name (default: INBOX) | |
| account | No | Account name (uses default if omitted) | |
| page_size | No | Number of emails to fetch for grouping (default: 50) |