Skip to content
Fourohtwo

format.halowerk.com/v1/eml-to-pdf

Render an e-mail (EML, RFC 5322/MIME) as a reproducible PDF with decoded headers, the text body (HTML reduced to text) and a list of attachments with size and SHA-256. Own MIME parser: unfolded headers with RFC 2047 encoded-words, nested multiparts, base64 and quoted-printable, charsets via the WHATWG/ICU decoders, RFC 2231 parameter continuations and encodings for file names, format=flowed (RFC 3

BaseUnchecked
POSThttps://format.halowerk.com/v1/eml-to-pdf

UptimeNot checked yet

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://format.halowerk.com/v1/eml-to-pdf", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"eml":"From: Alice <alice@halowerk.com>\r\nTo: Bob <bob@halowerk.com>\r\nSubject: Hello\r\nDate: Mon, 02 Nov 2026 09:00:00 +0100\r\n\r\nHi Bob,\r\nsee you tomorrow.\r\n"}),
});
console.log(await res.json());

Example input

{
  "eml": "From: Alice <alice@halowerk.com>\r\nTo: Bob <bob@halowerk.com>\r\nSubject: Hello\r\nDate: Mon, 02 Nov 2026 09:00:00 +0100\r\n\r\nHi Bob,\r\nsee you tomorrow.\r\n"
}