get_email_headers
Extract email headers like From, To, Subject, and Date without downloading the full message body to analyze metadata efficiently.
Instructions
Fetch only email headers (From, To, Subject, Date, Message-ID, etc.) without downloading the body. account_id recommended so the UID lookup hits the right mailbox.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| email_id | Yes | Email ID to get headers from | |
| folder | No | Email folder (default: 'INBOX') | INBOX |
| account_id | No | Specific account ID (optional) | |
| headers | No | Specific headers to retrieve (optional, default: common headers like From, To, Subject, Date, Message-ID) |