Emgen generates random email addresses.
Emgen is available on PyPI and is installable with pip:
$ pip3 install --user emgen
Generate a random email address:
$ emgen
mt1ivirn@example.com
Generate an email address for your domain corgi.example
:
$ emgen --domain corgi.example
aiemil8u@corgi.example
Generate a long email address for your domain dane.example
:
$ emgen -d dane.example --length 16
vqjo0h8y4z2dgetd@dane.example
Make an alias to generate an address and copy it to your clipboard:
$ alias em="emgen -d greyhound.example -l12 --clipboard"
$ em
yx4su4olx2uq@greyhound.example
$ # display the contents of your clipboard:
$ xclip -sel clip -o
yx4su4olx2uq@greyhound.example
Emgen can generate random tags if your email provider supports subaddressing, such as FastMail's or Gmail's plus addressing.
Generate a tag for your Gmail account john.doe84
:
$ emgen -d gmail.example --username john.doe84
john.doe84+7usnoxla@gmail.example
Emgen is released under the MIT License.