Skip to content

feat(email): branded HTML layout for every email - #12

Merged
Wjouter merged 3 commits into
mainfrom
007-branded-email-layout
Oct 20, 2026
Merged

Wjouter merged 3 commits into
mainfrom
007-branded-email-layout

Conversation

@Wjouter

@Wjouter Wjouter commented Oct 20, 2026

Copy link
Copy Markdown
Owner

Summary

  • Every email now renders in one branded HTML layout: wordmark, a 600px card with a magenta top bar, the subject as heading, colour-coded change rows, a magenta button with a copyable fallback link, and the footer below the card.
  • Table layout with MSO fallbacks for classic Outlook; no images, scripts, remote resources or web fonts.
  • Calendar values and names are cut to 200 encoded bytes in the HTML only; the HTML stays under 100 KB at 50 changes.
  • Plain-text part, subjects and headers are unchanged, pinned by snapshot tests taken before the renderer change.
  • Spec, plan and tasks in specs/007-branded-email-layout/; the 003 body contract is amended.

Test plan

  • Full backend suite: 468 passed, 6 skipped, 0 failed
  • Snapshot, encoding, palette/contrast, size and truncation tests
  • Mailpit HTML Check over every fixture; layout checked at 320, 375, 640 (200% zoom), 768 and 1440px with no sideways scroll
  • Forced dark mode and real clients (classic Outlook, Gmail) not checked

🤖 Generated with Claude Code

Wjouter and others added 3 commits October 20, 2026 18:18
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…contract

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Card shell with wordmark and magenta bar, colour-coded change rows, button
with copyable fallback link, footer below the card, 200-byte shortening of
calendar values. Plain text, subjects and headers are unchanged (snapshot).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@Wjouter
Wjouter merged commit 8246252 into main Oct 20, 2026
2 checks passed
@Wjouter Wjouter linked an issue Oct 20, 2026 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Email: branded layout that matches the frontend theme

1 participant