Archive an .eml email as a clean PDF: header table, body, inline images, attachment list. (.msg is not supported.)
| Name | Type | Description |
|---|---|---|
file | file · required | .eml file. |
pageFormat | string · optional | A4 (default) or Letter. |
curl -X POST https://api.bigapi.dev/v1/email/to-pdf -H 'Authorization: Bearer $KEY' -F 'file=@message.eml' -o message.pdf
HTTP/1.1 200 OK Content-Type: application/pdf Content-Disposition: attachment; filename="Quarterly update.pdf" (PDF body)