feat: add daily digest email notification module
Build and Push Multi-Platform Images / build-and-push (push) Successful in 50s

- New DailyDigestModule with scheduled summary email for open dashboard items
- Extract StatsService from StatsController for reuse in digest
- Add DailyDigestEnabled, UserEmail, UserPreferredUsername to UserSettings entity
- Sync email/username from OIDC token on each get/update call
- Add dailyDigestEnabled to UserSettingsDto and update API
- Notifications tab in UserSettingsPage with enable toggle and "Jetzt senden" button

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
bjoernpoettkerandClaude Sonnet 4.6 committed 2026-05-28 15:57:10 +02:00
1 parent 029d5b351f
commit 52438ee11f
12 files changed
+366 -86

No files matched your search

@@ -34,4 +34,13 @@ export class UserSettings {
@Column({ type: 'json', nullable: true })
EmailRecipientHistory!: string[] | null;
@Column({ type: 'boolean', default: false })
DailyDigestEnabled!: boolean;
@Column({ type: 'varchar', length: 255, nullable: true })
UserEmail!: string | null;
@Column({ type: 'varchar', length: 255, nullable: true })
UserPreferredUsername!: string | null;
}