Concepts

Normalization

normalized_email is the inbox an address really delivers to. Put a unique index on it to stop repeat sign-ups.

ProviderRuleExample
Gmail / Googlemaildrop dots and +tag, fold to gmail.comJ.Doe+x@googlemail.com → jdoe@gmail.com
Outlook / Hotmail / Live / MSNdrop +tag, keep dotsa.b+c@outlook.com → a.b@outlook.com
Yahoo / Ymaildrop -keywordbase-shop@yahoo.com → base@yahoo.com
iCloud / me.com / mac.comdrop +tag, fold to icloud.comx+y@me.com → x@icloud.com
Fastmaildrop +tag; subdomain addressingshop@bob.fastmail.com → bob@fastmail.com
Proton, Zoho, Yandex, Tuta, HEY, mailbox.orgdrop +tag (Yandex folds to yandex.ru)x+y@proton.me → x@proton.me
Custom domains on Google, Microsoft, Fastmail, Proton or Zoho MXdrop +tag, keep dotsa.b+c@acme.io → a.b@acme.io
Login identity should stay exactly as typed; use the normalized form only for uniqueness and abuse checks.