phasmid - v0.0.1
    Preparing search index...

    Function isSameEmail

    Phasmid: provider-aware email normalization and canonicalization.

    import { normalizeEmail, isSameEmail } from "Phasmid";

    normalizeEmail("John.Doe+newsletter@googlemail.com"); // "johndoe@gmail.com"
    isSameEmail("a.b@gmail.com", "ab@gmail.com"); // true
    • Returns true if two addresses normalize to the same canonical address, i.e. they deliver to the same mailbox under the configured rules.

      Parameters

      Returns boolean