| ${safeLabel} |
|
|
${html}
` } export function emailShell(opts: EmailShellOptions): string { const accent = opts.accent ?? BRAND.indigo const year = new Date().getFullYear() const appName = escapeHtml(APP_NAME) const preheader = opts.preheader ? `` : "" const eyebrow = opts.eyebrow ? `${escapeHtml(opts.eyebrow)}
` : "" const intro = opts.intro ? `${opts.intro}
` : "" const button = opts.button ? emailButton(opts.button, accent) : "" const footerNote = opts.footerNote ? `${opts.footerNote}
` : "" return `