Commit Graph

2 Commits

Author SHA1 Message Date
cesnimda be970ff621 chore: strip UTF-8 BOM from migration files (unblock format gate) (#39)
CI / backend (push) Successful in 1m5s
CI / frontend (push) Successful in 14s
CI / format (push) Successful in 49s
CI / db-tests (push) Successful in 57s
Deploy Staging / deploy (push) Successful in 30s
CI / backend (pull_request) Successful in 58s
CI / frontend (pull_request) Successful in 14s
CI / format (pull_request) Successful in 50s
CI / db-tests (pull_request) Successful in 56s
Security / secrets (push) Successful in 4s
Security / dependencies (push) Successful in 55s
Security / sast (push) Successful in 32s
Security / secrets (pull_request) Successful in 4s
Security / dependencies (pull_request) Successful in 58s
Security / sast (pull_request) Successful in 35s
2026-07-04 16:40:05 +02:00
cesnimda 0163165beb feat: notification digests via SMTP
Adds a periodic inbox-summary email per opted-in user. SMTP is
configured via appsettings (Smtp section); the digest is built from
existing analytics (health score, top senders, recommendations) and
sent by a new hourly DigestWorker, mirroring the GmailSyncWorker
pattern. Frequency and send hour are configurable (Digest section).

Backend: IEmailSender (SmtpEmailSender, MailKit), IDigestService,
DigestWorker, new User.DigestEnabled/LastDigestSentUtc fields +
migration, SettingsController for the per-user toggle and a
send-now test endpoint, all scoped to the authenticated UserId.

Frontend: SettingsApi + a bell/no-bell toggle button in the topbar.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-30 22:11:39 +02:00