Mails

Renders

Every novem e-mail renders to more than HTML. Fetch it as plain text, colored terminal output, PDF, PNG, or PowerPoint, from the files folder or through the compact /u/ short links.

AI assisted, human approved — novem uses AI to review and keep our documentation up to date.

The same content that goes out as an e-mail can be fetched in a range of formats. See the files reference for the general philosophy. This page lists what's available for e-mails specifically.

Authenticated renders live in the e-mail's files/ folder:

PathFormat
/v1/vis/mails/:mail/files/mail.txtPlain text
/v1/vis/mails/:mail/files/mail.ansi256-color terminal output
/v1/vis/mails/:mail/files/mail.pdfPDF
/v1/vis/mails/:mail/files/mail.pngPNG image
/v1/vis/mails/:mail/files/mail.pptxPowerPoint

The txt and ansi renders accept cols and rows query parameters to control the terminal geometry, e.g. mail.ansi?cols=120.

Each e-mail is also reachable under the compact /v1/u/:user/m/:mail form. These endpoints honour the e-mail's sharing settings (its shared/ folder): anyone with read access can fetch them, and a publicly shared e-mail needs no authentication at all.

PathReturns
/v1/u/:user/mJSON list of the user's e-mails visible to you
/v1/u/:user/m/:mailJSON metadata for the e-mail
/v1/u/:user/m/:mail/txtPlain text render
/v1/u/:user/m/:mail/ansiTerminal (ansi) render
/v1/u/:user/m/:mail/txt/htmlThe text render wrapped as an HTML page
/v1/u/:user/m/:mail/ansi/htmlThe ansi render wrapped as an HTML page
/v1/u/:user/m/:mail/imgPNG image render
/v1/u/:user/m/:mail/txt/html/imgPNG image of the text view
/v1/u/:user/m/:mail/ansi/html/imgPNG image of the ansi view
/v1/u/:user/m/:mail/pdfPDF render
/v1/u/:user/m/:mail/pptxPowerPoint render

As with the files folder, the txt and ansi variants accept cols and rows query parameters.

An e-mail's vars get the same public treatment:

PathReturns
/v1/u/:user/m/:mail/vJSON list of the e-mail's vars
/v1/u/:user/m/:mail/v/:varJSON detail for one var
/v1/u/:user/m/:mail/v/:var/txtThe var's formatted plain-text output
/v1/u/:user/m/:mail/v/:var/ansiThe var's formatted terminal output

Note: renders are produced on demand and cached. The first request after a content change can take a moment. Repeat fetches are fast.