ITSM Mailer is a application developer in Node.js to access ITSM site, scrape data and send e-mail. ITSM Mailer runs Puppeteer to scraper data and Nodemailer to send e-mail.
git clone https://github.com/VitorOlivier/itsm-mailer
cd itsm-mailer
npm iNODE_HTTP_PROXY=<URL_PROXY>
NODE_ITSM_PWD=<PASSWORD_TO_ACESS_ITSM_PORTAL>
NODE_ITSM_USER=<USER_NAME_TO_ACESS_ITSM_PORTAL>
NODE_MAIL_PWD=<PASSWORD_TO_SEND_MAIL>
NODE_MAIL_USER=<USER_NAME_TO_SEND_MAIL>In the project directory, you can run:
npm start