format_emails
Re-format email lists: select fields, filter by value, and sort for custom output in JSON, table, or summary.
Instructions
Re-format and filter a list of email objects (previously fetched) into a custom structure. Supports field selection, filtering by field value, and sorting.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| emails | Yes | Array of email objects to format | |
| fields | No | Fields to include in output (omit to include all) | |
| filterBy | No | Filter emails by a field value | |
| sortBy | No | Sort emails by a field | |
| outputFormat | No | Output format | json |