feat(mail): send service identity mail through a leased worker

This commit is contained in:
shira committed 2026-10-06 21:08:11 +03:00
1 parent 204c6bae62
commit d21fd49a42
58 files changed
+7577 -164

No files matched your search

@@ -23,9 +23,13 @@ import (
// time is not known yet";
// - pending and unknown: "your email is being sent". unknown is not shown
// as a failure: the message may have been accepted;
// - accepted: "your email was sent". It means that the provider accepted
// it, not that it reached the inbox;
// - rejected: "your email could not be sent".
// - accepted: "your email was handed to the email provider, which
// accepted it". It is acceptance by the provider, not delivery to the
// person: nothing confirms that it reached the inbox, and the text must
// not say so;
// - rejected: "your email could not be sent";
// - cancelled: "your email was not sent because its link is no longer
// valid; request a new one".
type UserDeliveryStatus struct {
Kind domain.MailKind
Status domain.DeliveryStatus