Currently, when I send an email using the below script, the email will be formatted to start a new line after 70 characters. I believe this is because the email is being sent as plain text, not HTML.
How can I convert the message to HTML so that it reads better, without line breaks?
var data = dataRange.getValues();
for (var i in data) {
var row = data[i];
var emailAddress = row[3];
var message = row[5] + "\n\nTEST\n\nTEST";
var subject = row[4];
MailApp.sendEmail(emailAddress, subject, message);
sheet.getRange(startRow + i - 18, 8).setValue(EMAIL_SENT);
sheetC.getRange(startRow + i - 18, 3).setValue(EMAIL_SENT);
SpreadsheetApp.flush();
}
Fairly new to scripts, so any help would be appreciated!