GMail Google Apps Script Plugin “The value returned from Apps Script has a type that cannot be used by the add-ons platform”
问题 In the last 24 hours, a previously working GMail plugin I run has started failing. I stripped it all the way down to only trying to get the example from the docs working: var action = CardService.newAction().setFunctionName('composeEmailCallback'); CardService.newTextButton() .setText('Compose Email') .setComposeAction(action, CardService.ComposedEmailType.REPLY_AS_DRAFT); // ... function composeEmailCallback() { var thread = GmailApp.getThreadById(e.threadId); var draft = thread