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

Email → PDF

Save an email as PDF, from .eml or Outlook .msg: header table, body, inline images, forwarded messages; attachments embedded as files.

Try it

export KEY=bigapi_…   # your key, once per terminal
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 or Outlook .msg file; header, text and 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
embedEmbed the attachments as files in the PDF (up to 25 MB in total); false only lists them.
Default: true

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.