Expand description
Email validation and normalization helpers. Email validation and normalization helpers.
The helpers implement Aster’s lightweight email contract: trim and lowercase values, reject obviously malformed addresses, and keep the behavior independent from any account or identity provider model.
Functions§
- email_
domain - Returns the lowercased domain portion of an email address.
- normalize_
email - Trims and lowercases an email address, then validates it.
- validate_
email - Validates a normalized email address using Aster’s lightweight email rules.