1 Commits

Author SHA1 Message Date
ruslan 9e525a44c3 Light-theme access emails + inline cid logo instead of broken data-URI
Outlook desktop (Word rendering engine) does not support data: URI
images at all - the logo in approval/rejection emails was silently
dropped there. Fix:

- app/static/logo-email.png: logo asset, attached as an inline MIME
  part with Content-ID instead of base64-embedded in <img src>
- app/main.py _send_email(): builds a multipart/related message and
  attaches the logo as cid:mont_logo whenever html_body references it
- all 6 client-facing access emails (approve/reject x 3 call sites):
  switched from dark gradient theme to a light theme (solid white
  card, dark text) - Outlook does not support CSS gradients either,
  so the old dark card + light text would have rendered as invisible
  light text on a default white background on top of the missing logo
- footer contact address: mont@mont.ru -> RGalyaviev@mont.ru

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-10-02 06:01:00 +00:00