Save an email as PDF: archive .eml files as clean PDFs — header table, body, inline images, attachment list. (.msg is not supported.)
curl -X POST https://api.bigapi.dev/v1/email/to-pdf -H 'Authorization: Bearer $KEY' -F 'file=@message.eml' -o message.pdf
New keys come with 100 free operations, no signup: curl -X POST https://api.bigapi.dev/v1/keys. Failed calls cost nothing.
| Name | Meaning |
|---|---|
file required | E-mail saved as .eml file; header, text and a list of attachments go into the PDF. |
pageFormat | Paper size of the PDF. Allowed: A4, LetterDefault: "A4" |
remoteImages | Load external images (http/https). Off by default: newsletter tracking pixels would otherwise be fetched from our server. JavaScript in e-mails never runs. Default: false |
Returns application/pdf. Response headers carry the cost (X-BigAPI-Cost) and notes about your input (X-BigAPI-Warnings).
Connect BiGapi as an MCP server: https://api.bigapi.dev/mcp (hosted) or npx -y @bigapi/mcp (local). Then ask in plain words; the agent finds email_to_pdf on its own.