Skip to content

email

email(safe: bool = True, domain: str = '') -> str

Generate a random email address.

  • Locale dependent

Arguments

Param Type Default Description
safe bool True If True, uses safe domains (example.com, test.com) that
domain str '' Force a specific email domain. Overrides safe if provided.

Returns str