nodemailer is an amazing node module to send emails within any of your nodejs apps. This is the transport plugin that goes with nodemailer to send email using Mailgun 🔫
Could not find a declaration file for module 'nodemailer'. '/Users/nikos/functions/node_modules/nodemailer/lib/nodemailer.js' implicitly has an 'any' type.
Try `npm i --save-dev @types/nodemailer` if it exists or add a new declaration (.d.ts) file containing `declare module 'nodemailer';`
1 import { Transporter, createTransport } from "nodemailer"