DEV Community

Cover image for Emailnator CLI : Gmail Generation and Consultation
Beπ ✨
Beπ ✨

Posted on • Updated on • Originally published at benoitpetit.dev

Emailnator CLI : Gmail Generation and Consultation

Substack Newsletter

Hello, it's Ben 😊, and I've created a small CLI that I wanted to share with you, so here we go!

Introduction

Have you ever felt the need to create a temporary email address in an instant, whether for signing up on a website, receiving a confirmation code, or testing a service? Are you looking for a simple and efficient way to manage your emails without opening your browser? If so, then Emailnator is the perfect tool for you!

What is Emailnator CLI?

Emailnator is an unofficial command-line interface (CLI) for Emailnator.com, a free service for generating temporary emails. With Emailnator CLI, you can create and manage multiple email addresses directly from your terminal, accessing your inbox and messages with just a few commands.

Advantages

In addition to its basic features, Emailnator CLI offers several advantages, including:

  • Privacy Protection: Disposable email addresses generated by Emailnator are associated with different IP addresses, ensuring the confidentiality of your online identity.
  • Convenience: Emailnator allows you to check your emails without opening your browser, a handy feature when you're already immersed in your terminal.
  • Simplicity: Installing and using Emailnator is straightforward, even for novice users.

Installation

To install Emailnator CLI, make sure you have Node.js and NPM installed on your machine. If not, you can download them here. Then, simply run the following command:

sudo npm install -g emailnator
Enter fullscreen mode Exit fullscreen mode

After installation, you need to install the required dependencies by running the following command:

emailnator install
Enter fullscreen mode Exit fullscreen mode

Usage

The following commands are available for using Emailnator:

  • emailnator generate-email: generates a new email address.
  • emailnator generate-email-multi <number>: generates multiple email addresses.
  • emailnator list: displays the list of generated email addresses.
  • emailnator clear: clears the list of generated email addresses.
  • emailnator inbox <email>: displays the inbox of a specified email address.
  • emailnator message <email> <id>: displays the message of a given email address and ID.

Usage Examples

Here are some examples of using Emailnator commands:

  • To generate a new email address, run the following command:

    emailnator generate-email
    
  • To generate 10 email addresses, use the following command:

    emailnator generate-email-multi 10
    
  • To display the list of generated email addresses, run the following command:

    emailnator list
    
  • To clear the list of generated email addresses, use the following command:

    emailnator clear
    
  • To display the inbox of a specified email address, run the following command:

    emailnator inbox <email>
    
  • To display the message of a given email address and ID, use the following command:

    emailnator message <email> <id>
    

Conclusion

Explore Emailnator CLI, a tool that prioritizes privacy while efficiently generating and discreetly verifying emails. It safeguards your privacy, enhances time efficiency, and enables secure service testing. Give it a try and share your experience!

See you later! Beπ ✨


🫶 If you appreciate my posts and would like to support my work, feel free to make a donation by clicking on the Stripe Sponsor link below or by scanning the QR code. Stripe Link Sponsor


Stripe Sponsor


👀 See me here :

Top comments (0)