This is just a demonstration of using nodemailer on Cyclic. For production use you will want to protect the sending route.
- Create application specific password: https://security.google.com/settings/security/apppasswords
- Set env variables
- Test the
/send
route