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

+5
View File
@@ -107,6 +107,11 @@ type Config struct {
// through the configured provider account per UTC day and UTC month.
EmailQuotaDaily int
EmailQuotaMonthly int
// EmailServiceReserveDaily and EmailServiceReserveMonthly keep recipients
// of the daily and monthly quota free for service mail: product
// notifications are admitted only while the windows stay above them.
EmailServiceReserveDaily int
EmailServiceReserveMonthly int
// AppPublicURL is the public origin without a trailing slash, for links
// in mail.
AppPublicURL string