feat: route email notifications through mail capability

This commit is contained in:
2026-07-30 17:42:07 +02:00
parent e32ba3663b
commit 8153a1de45
9 changed files with 311 additions and 18 deletions
@@ -176,7 +176,7 @@ export default function NotificationSettingsPanel({ settings, auth }: { settings
</div>
<ToggleSwitch
label="Email notifications"
help="Prepared for mail-backed notification delivery."
help="Deliver production email through the optional Mail module. In-app notifications continue to work when Mail is unavailable."
checked={draft.email_enabled}
disabled={loading}
onChange={(value) => setDraft((current) => ({ ...current, email_enabled: value, email_digest_enabled: value ? current.email_digest_enabled : false }))}