This is a sample project which demonstrates the use of Nodemailer and mail gun to create a rest api which receives parameters in form of a JSON
SAMPLE REQ HEADERS
{ to: 'mk@gmail.com', subject: 'This is a working rest api', text: 'You have been alerted!!!', html: '', 'user-agent': 'PostmanRuntime/7.34.0', accept: '/', 'postman-token': '626175da-b7d7-4a20-a9a0-f57402377eb3', host: 'localhost:3333', 'accept-encoding': 'gzip, deflate, br', connection: 'keep-alive', 'content-length': '0' }