How to pass variables into an HTML body
问题 I have created this script that allows me to select a certain food item and the serving size and then it calculates nutritional value, adds it to a database, sums it all at the end of the day and sends me an email with an overview. It almost all works, I am just having trouble passing some variables from my script into the HTML formatted email. In the portion of the code below, totals is the data values from a spreadsheet range. I expect the retrieved values of calories , caloriesFromFat ,