feat(notifications): send product notifications with a rights check right before each send

This commit is contained in:
shira committed 2026-10-09 20:38:39 +03:00
1 parent a856066316
commit 623d41b969
59 files changed
+4125 -1126

No files matched your search

+6
View File
@@ -45,6 +45,12 @@ EMAIL_TIMEOUT=10s
# mail wait for the reset; nothing buys a plan or switches the transport.
EMAIL_QUOTA_DAILY=
EMAIL_QUOTA_MONTHLY=
# Recipients per UTC day and per UTC month that product notifications leave
# free for service mail (verification and password reset). Empty means a fifth
# of the matching quota limit, 20 and 600 on the Resend Free plan. Notifications
# are admitted only while the window stays at or above the reserve after them.
EMAIL_SERVICE_RESERVE_DAILY=
EMAIL_SERVICE_RESERVE_MONTHLY=
# Public origin for links in mail. Email confirmation requires the browser's
# Origin header to match this scheme, host, and port. Use HTTPS except on
# localhost, 127.0.0.1, or [::1]. Do not add a path, query, or fragment.