gmail-addons

Gmail Add-on trigger criteria

不羁的心 提交于 2019-11-28 13:17:09
Can someone accurately describe the trigger criteria for Gmail Add-on scripts? Apparently, the trigger is not invoked each time the user navigates between Gmail conversations. The only documentation I can find is https://developers.google.com/gmail/add-ons/how-tos/building#note1 , which states the only contextual trigger type available is unconditional, which triggers for all emails regardless of content. I interpreted this to mean that the trigger is invoked every time the user navigates to a different gmail conversation, however, that is not the case: The first time I navigate to a some

Handling persistent user-specific values in Gmail Add-ons

人盡茶涼 提交于 2019-11-28 00:42:58
问题 I have created simple Gmail addon, now I'm struggling with below strategies. After installing the addon, when first inbox is opened, we ask basic info input from users, when he opens second mail we won't ask basic info details again. How I can handle this? I have tried property service but no luck. Update var MAX_THREADS = 5; /** * Returns the array of cards that should be rendered for the current * e-mail thread. The name of this function is specified in the * manifest 'onTriggerFunction'

Gmail Add-on trigger criteria

泄露秘密 提交于 2019-11-27 07:35:20
问题 Can someone accurately describe the trigger criteria for Gmail Add-on scripts? Apparently, the trigger is not invoked each time the user navigates between Gmail conversations. The only documentation I can find is https://developers.google.com/gmail/add-ons/how-tos/building#note1, which states the only contextual trigger type available is unconditional, which triggers for all emails regardless of content. I interpreted this to mean that the trigger is invoked every time the user navigates to a