feat(notification): add Resend quota gate and waiting-for-reset state

This commit is contained in:
shira committed 2026-10-06 11:50:38 +03:00
1 parent 3b917befa9
commit b856d4ff54
40 files changed
+4116 -48

No files matched your search

+4
View File
@@ -86,6 +86,10 @@ type Config struct {
// pinned to. It is configuration identity, never a credential.
EmailAccount string
EmailTimeout time.Duration
// EmailQuotaDaily and EmailQuotaMonthly limit the recipients sent
// through the configured provider account per UTC day and UTC month.
EmailQuotaDaily int
EmailQuotaMonthly int
// AppPublicURL is the public origin without a trailing slash, for links
// in mail.
AppPublicURL string