Email address generator

Generates an email address using the given person's name as base.

internet.email

Generator settings

Generate data to see results here.

Parameters & Example

Generates an email address using the given person's name as base.

internet.email(options?: { firstName?, lastName?, provider?, allowSpecialCharacters? })
options
The options to use.
options.firstName
The optional first name to use. If not specified, a random one will be chosen.
options.lastName
The optional last name to use. If not specified, a random one will be chosen.
options.provider
The mail provider domain to use. If not specified, a random free mail provider will be chosen.
options.allowSpecialCharacters
Whether special characters such as .!#$%&'*+-/=?^_{|}~ should be included in the email address. Defaults to false.

Example

"[email protected]"

Use synthetic data in a test environment.

Related generators

Explore scenarios