This package is a simple script that allows users with little to no coding experience to leverage Cobalt Intelligence and Mailgun for email marketing.
Ensure that you have NodeJS installed.
Clone or download the repository and run npm install
.
Set apiKey and domain that was setup with Mailgun in .sample.env
. You will also need to set the DNS records which could take 24-48 hours.
Rename .sample.env
to .env
Use npm run start:test
in order to test the code. Change the html, subject, from, and to address in src/tester.ts
in order to test it. Make sure your csv with your leads is formatted as a csv from Cobalt Intelligence would be.
After you feel comfortable with the test code, update the html, from, and subject in src/index.ts
.
After that, you just need to run npm start
. This will send out emails to everyone in the csv list.
Tested on Node v12.4.0 and NPM v6.9.0.
After installing NodeJS you should be able to just run the following in the terminal.
npm i
- Mailgun - Mailgun's JS library
- NodeJS - NodeJS
- csv-parser - Library to parse csvs
- Jordan Hansen - Initial work - Jordan Hansen
This project is licensed under the ISC License