We establish Google G Suite for our clients and over the last few weeks, we have found that Google Apps Script does not process the MailApp.sendEmail() as expected. It only
// The code below will send an email with the current date and time.
var now = new Date();
GmailApp.sendEmail("mike@example.com", "current time", "The time is: " + now.toString());