@@ -86,21 +86,21 @@ statuses, refused destinations and redirects fail at once.
8686
8787## Email
8888
89- The ` email ` channel (` deliveries/email.rs ` in both crates) sends account holders
90- transactional messages over SMTP. A delivery stores the account's ID as its
91- recipient and a typed ` EmailMessage ` as its payload. A verification link stores
92- only the address's ID: the sender reads the address, and the account's handle
93- the message names, when it sends, so a link to an address removed, replaced or
94- verified meanwhile is not sent, and the delivery succeeds without a send. The
95- notices that an address stopped being primary, or was removed, copy the address
96- instead, read in the event's transaction, so removing the address right after
97- cannot cancel them. A recovery's link stores the recovery's ID and the primary
98- address's, and is not sent once the link was used, cancelled or expired, or the
99- account was disabled. The notices that a recovery enrolled a passkey, or that
100- support revoked passkeys and started one, go to every verified address, copying
101- it. The copied addresses are the channel's only personal data, deleted with the
102- delivery. The ` destination ` column names the account and the address's ID, for
103- operators.
89+ The ` email ` channel (` deliveries/email/ ` in auth-service, ` deliveries/email.rs ` in
90+ the database crate) sends account holders transactional messages over SMTP. A
91+ delivery stores the account's ID as its recipient and a typed ` EmailMessage ` as
92+ its payload. A verification link stores only the address's ID: the sender reads
93+ the address, and the account's handle the message names, when it sends, so a link
94+ to an address removed, replaced or verified meanwhile is not sent, and the
95+ delivery succeeds without a send. The notices that an address stopped being
96+ primary, or was removed, copy the address instead, read in the event's
97+ transaction, so removing the address right after cannot cancel them. A recovery's
98+ link stores the recovery's ID and the primary address's, and is not sent once the
99+ link was used, cancelled or expired, or the account was disabled. The notices that
100+ a recovery enrolled a passkey, or that support revoked passkeys and started one,
101+ go to every verified address, copying it. The copied addresses are the channel's
102+ only personal data, deleted with the delivery. The ` destination ` column names the
103+ account and the address's ID, for operators.
104104
105105A link's token is never stored, not even in the payload: it is an HMAC of the
106106address's ID, or the recovery's, under a key derived from the token digest key.
0 commit comments