Document Builder
BuildersDocument Builder
Reports, proposals and contracts on a paged, print-optimized canvas, export to PDF.
tsx
<EmailEditor token="pk_live_…" options={{ displayMode: "document" }} />displayMode: "document" switches to a page-sized canvas (~US Letter). exportHtml returns a print-ready document (with @page rules) your browser or backend can turn into a PDF. Server-side, use renderDocument from email-craft-sdk.
If you build a PDF or letter but keep displayMode: "email", pass inboxPreview={false} (or options.inboxPreview: false) so the preview does not offer Gmail and Apple Mail, which only make sense for an email. The preview then also grows to show the whole page at its real width.
A dedicated Page-Break tool for multi-page documents is on the roadmap.