internet.email

Generates random email addresses with optional domain filtering. Email addresses consist of a randomly generated local part (3–20 characters) and a domain from either a custom list or safe defaults.

Keywords

domainsoptional

An array of domain names to use for email generation. Each domain must be a non-empty string. When not specified, defaults to RFC 2606 reserved domains: example.com andexample.org.

Behavior

The generated local part (before the @ symbol):

  • Contains lowercase letters (a-z) and numbers (0-9)
  • May include dots (.) and underscores (_) as separators
  • Always starts and ends with an alphanumeric character
  • Has a length between 3 and 20 characters

Values are not guaranteed to be unique.

Examples

Using default domains:

{
  "type": "internet.email"
}

Using custom domains:

{
  "type": "internet.email",
  "domains": ["company.org", "startup.io", "test.net"]
}

Using a single corporate domain:

{
  "type": "internet.email",
  "domains": ["acme.com"]
}