the mehtode GmailApp.sendEmail (or MailApp.sendEmail for that matter) only works when I run it in the script editor, in my Drive. However, it refuses to work when called by an e