Masked email: owners send as their live masks, over JMAP identities and SMTP submission (ME-11)

This commit is contained in:
2026-09-18 16:23:49 -07:00
parent 60d1d8b84a
commit 53ccc8f4de
4 changed files with 31 additions and 0 deletions
+8
View File
@@ -75,6 +75,14 @@ impl IdentitySet for Server {
.addresses()
.iter()
.any(|e| e == &identity.email)
// inbuxa: ME-11: a live mask of the account's own is an identity too
&& !inbuxa_features::masked_email::ops::sends_as(
&self.core.storage.data,
self.registry(),
account_id,
&identity.email,
)
.await?
{
response.not_created.append(
id,