If you're running the code with your machine, Examine your antivirus configurations. Antiviruses usually mess about with email ports usage. Node.js won't understand the MITM cert your antivirus is working with.
Now https://estelleygfd037909.webdesign96.com/30790924/5-simple-techniques-for-node-js-developer