Skip to content

A simple node.js program that finds email addresses in bulk by using a CSV file of names and domains.

Notifications You must be signed in to change notification settings

rishankjhavar/bulk-email-check

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Bulk Email Check

Find email addresses in bulk by using names and domains. Made using email-permutator and email-existence, the program returns a CSV file of valid email addresses. Useful for email marketing - you could find almost any email on the web using this.

How to Use

  • Install via NPM
npm i bulk-email-check
  • IMPORTANT: Save your CSV in the root folder (to use the example below, rename it to file.csv)
  • Pass the input CSV file in generateEmails function
  • Locate the output CSV file (valid_emails.csv) in the root folder of the project

Example

const echeck = require('bulk-email-check');
echeck.generateEmails('file.csv'); // IMPORTANT: the CSV should be in First Name | Last Name | Domain format. Please check the example CSV.

Example CSV

First Name Last Name domain
Shanu Goyanka gmail.com

How this works

The program takes in first name and last name of the prospect and generates several email combinations. Post that, all combinations go through an existence check, which involves telnetting to the MX server of the email domain and attempting to send an email to the supplied address. MX servers return 250 if the email address exists (it does not follow through with sending the test email). Finally, the valid emails are exported in CSV format.

Note

As the output includes all valid email addresses, the program may sometimes return email addresses that do not belong to that particular user. For instance, if someone searches for 'John Hancock' at 'example.com', one of the valid emails that the program will return could be '[email protected]' - but this could belong to 'Jane Hancock'.

Enjoy!

About

A simple node.js program that finds email addresses in bulk by using a CSV file of names and domains.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published