Gmail AppScript mailMessage.getFrom() to return email not name
问题 Similar to: Getting only email address to display when using message.getFrom() in JavaMail but could not apply the solution. Trying to use mailMessage.getFrom() on Google AppScript with Gmail. Default script: function loadAddOn(event) { var accessToken = event.messageMetadata.accessToken; var messageId = event.messageMetadata.messageId; GmailApp.setCurrentMessageAccessToken(accessToken); var mailMessage = GmailApp.getMessageById(messageId); var from = mailMessage.getFrom(); var openDocButton