Styled email templates with a live preview #43

Closed
opened 2026-10-15 01:19:22 -04:00 by vmanne-poc · 0 comments
Owner

Today:

  • A template is a Markdown or HTML text box with a {{ content }} slot.
  • There's no preview, no styling, no clone, and no default.

Plan

  • Template types:
    • Styled (Postak's own responsive base layout; content is written in Markdown)
    • HTML (full control)
    • Plain text
  • Style options for Styled templates:
    • page background and font
    • content width, background, text colour and line height
    • headings H1–H3 (font, size, weight, colour)
    • links, buttons, quotes, spacers, footer and footer links
    • stored as validated JSON
  • Footer / signature in Markdown. It must contain an unsubscribe link (Postak adds one otherwise).
  • Live preview with sample content, inside a sandboxed iframe with no scripts.
  • Clone a template. Mark one as the project's default.
  • Produce email-client-safe HTML (inline CSS, table layout) and test it in the major clients.
  • Postak's own layout and sample content.
**Today:** - A template is a Markdown or HTML text box with a `{{ content }}` slot. - There's no preview, no styling, no clone, and no default. **Plan** - **Template types:** - **Styled** (Postak's own responsive base layout; content is written in Markdown) - **HTML** (full control) - **Plain text** - **Style options** for Styled templates: - page background and font - content width, background, text colour and line height - headings H1–H3 (font, size, weight, colour) - links, buttons, quotes, spacers, footer and footer links - stored as validated JSON - **Footer / signature** in Markdown. It must contain an unsubscribe link (Postak adds one otherwise). - **Live preview** with sample content, inside a sandboxed iframe with no scripts. - **Clone** a template. Mark one as the project's **default**. - Produce email-client-safe HTML (inline CSS, table layout) and test it in the major clients. - Postak's own layout and sample content.
Sign in to join this conversation.
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
vmanne-poc/Postak#43
No description provided.