Here is a very simple JavaScript file to send emails using "nodemailer"
❗️ First off, make sure that you have Node.js installed. Then, to install nodemailer, type in your terminal "npm install nodemailer".
🧑🏻💻 Once you have nodemailer installed, just copy paste the code, type your mail adresses and your message.
🥳 Then you can start sending mails !
Note: Do not use a gmail adress.