Render an email the way a recipient gets it, from unsaved editor values: emailStyle
(plain, personal or company), subject, preheader, message (TipTap JSON, or
{ localized: { <lang>: doc } }), optional sender (a teammate id, or
{ customSenderName }), lang and brand (unsaved emailBrand values). The current
user is the sample recipient and variables resolve with their values. Nothing is
stored or sent.
Bearer <token>.TipTap document, or { localized: { <lang>: document } }.
A teammate id, or { id?, customSenderName? }. Defaults to the current user.
Unsaved emailBrand values from the brand settings page.
Conversational emails show no unsubscribe line. Defaults to marketing (a newsletter).
Ok