Skip to content

Create a database of company hr and their email and mail them your cv and your interest.

Notifications You must be signed in to change notification settings

folliejester/HR-Mailer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HR-Mailer

Sometimes we need to send the same mail to multiple recipient with a different data (like Hello John instead of Hello Ron), this is where HR mailer comes in handy. Primarily designed to send the same emails to different HRs of different companies for a specific or different role during job hunt.

Features

  • Stores company email and name in a simplified version of mysql (quick.db)
  • Has an UI to input the data
  • Automatically wipes data as it sends the mails
  • Can send the same mail multiple times to the same user in case your emails get blocked or gets marked as spam in first or second attempt everytime (it happens in my case, I own a .me tld domain)
  • Attaches your CV while mailing
  • Eye catching mail design
  • Easy to configure mailer

Run Locally

Clone the project

  git clone https://github.com/folliejester/HR-Mailer.git

Go to the project directory

  cd HR-Mailer

Install dependencies

  npm install

Configure the configs.json file

  delete the 'config.json' file & rename 'configs.json' to 'config.json'

Open the config.json file and make the necessary changes:

Parameter Explanation Example
localhost_port network port of the web server 80
mail_host your smtp port smtp.gmail.com
mail_port use port 465 (for SSL), or port 587 (for TLS) 465
mail_secure if true the connection will use TLS when connecting to server. If false (the default) then TLS is used if server supports the STARTTLS extension. In most cases set this value to true if you are connecting to port 465. For port 587 or 25 keep it false true
mail_auth_user user is the username [email protected]
mail_auth_pass pass is the password for the user if normal login is used password
mail_from The email address of the sender [email protected]
mail_username The name to be shown it's from John Cena
mail_subject The subject of the email Application for Java Developer
attachment_filename filename to be reported as the name of the attached file. Use of unicode is allowed CV.pdf
attachment_path path to the file if you want to stream the file instead of including it (better for larger attachments) https://example.com/CV.pdf or C:\Users\admin\Documents\CV.pdf
linkedin Your linkedin profile https://www.linkedin.com/in/example/
github Your github profile https://github.com/example
googledev Your google dev profile https://example.com
portfolio Your portfolio link https://portfolio.com/
phone Your mobile number +91 98765 43210
jobrole your interested job role Java Developer
max_time maximum time in milisecond it will take to send another email 600000
min_time minimum time in milisecond it will take to send another email 300000
loop how many times it will send the same mail to the same recipient 1
mailerfilepath the location where your mailer.html file is saved at filepath/mailer.html

Start the server

  node smtp.js

How to use

  • Once the web server is up and running

  • Open your browser and head to https://localhost

  • Enter the name and the email id of the company you found (both must be unique and not been saved before)

  • Click on push to db, it will be saved by the database (even if you close your computer or terminate the web server)

  • Click on Show database to check if your data is saved or not

  • Click on Run Mailer and relax while your mails get delivered, doing this will automatically remove the name and the email id of the company your mail was sent to now from the database.

  • Click on wipe database if you made a mistake while filling the form and needs to wipe the database entirely

API Reference

Parameter Type Description
/ GET Index Page
/data POST Pushes the data to the database
/delete GET Wipes the database entirely
/showdb GET Displays all the data in the database
/run GET Runs the mailer that delivers your mail

Demo

UI demo is available at https://hrmailer.rxo.me/

Screenshots

Index Page

Index Page Screenshot

Mail with the attachment

Mail & Attachment Screenshot

Database Viewer

Database Viewer Screenshot

Database Deletion

Database Deletion Screenshot

Minimum Requirements

This project requires you to have:

Roadmap

This does the job for me, I'm not adding anything in the future. If you need a feature, fork or clone this project and implement it by yourself.

Support

For support, join our Discord server.

About

Create a database of company hr and their email and mail them your cv and your interest.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published