Step 7 — MJML Email Template Update
Redesign the email template to include all new analysis sections.
Sections (in order):
- Header — "Dnevni izvještaj cijena — Atrium" + date
- Sažetak — Total items matched, total potential savings €, top saving
- Top 10 najskupljih — Table: rank, product, total €, alternative, potential saving
- Tjedni trend — Table: product, last week avg, this week avg, ↑↓ %
- Kategorije — Table: category, total €, % share
- Detaljna usporedba — Full comparison table (fixed unit prices)
- Footer — Generated timestamp
Design:
- Brand color:
#1a73e8
- Green for savings, red for price increases
- Responsive MJML, tested in Gmail/Outlook
File: scripts/price_compare.py (MJML template section)
Depends on: #75, #76, #77 (Steps 4-6)
Priority: P2