I’m currently working on a personal project that sends an email to a user, and I’m using nodemailer and nodemailer-handlebar to do so. I have all my JS worked out, but now I’m trying to figure out how to put the data I want from JS, into the email I send. The email I’m trying to send is a list of names in the form of an
ul, however I don’t want to have to put each index in an array of 50 names into their own individual li’s in the template. Is there any way I can perform JS straight inside of the Nodemailer-handlebar template?