BiGapiguides
POST /v1/email/to-pdf · 1 cent per operation

Email → PDF

Save an email as PDF: archive .eml files as clean PDFs — header table, body, inline images, attachment list. (.msg is not supported.)

Try it

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.

Parameters

NameMeaning
file requiredE-mail saved as .eml file; header, text and a list of attachments go into the PDF.
pageFormatPaper size of the PDF.
Allowed: A4, Letter
Default: "A4"
remoteImagesLoad 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

Result and price

1¢ · 1 cent per operation

Returns application/pdf. Response headers carry the cost (X-BigAPI-Cost) and notes about your input (X-BigAPI-Warnings).

From an agent (MCP)

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.