Normalize an email address to its canonical form.
Applies the matching provider's rules (sub-address stripping, dot removal, case-folding, alias-domain collapsing) and returns the canonical string. Unknown domains get a conservative treatment: the domain is lowercased and the local part is left untouched.
Optionaloptions: NormalizeOptions
Phasmid: provider-aware email normalization and canonicalization.
Example