NormalizeEmail
The base module of NormalizeEmail.
It exposes a primary function, normalize_email
, and a few utils.
Summary
Functions
Split an email to a username and domain parts
Checks whether the email domain allows .
emails
Checks whether the email domain allows +
emails
Normalizes an email. This is useful for storing, comparing, etc
Functions
Split an email to a username and domain parts.
Args:
email
- the email to split, string
Returns a two string List
— [username, domain]
.
Checks whether the email domain allows .
emails.
Args:
email
- the email to check, string
Returns a boolean.
Checks whether the email domain allows +
emails.
Args:
email
- the email to check, string
Returns a boolean.