如何在不打开邮件的情况下加载Gmail插件 [英] How to load Gmail addon without opening mail message

查看:77
本文介绍了如何在不打开邮件的情况下加载Gmail插件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们需要开发gmail插件来读取已检查的邮件并处理内容.我们正在使用以下应用程序json:

We need to develop the gmail addon to read the checked mail messages and process the content.We are using the below application json:

{
 "oauthScopes": [
 "https://www.googleapis.com/auth/gmail.addons.execute",
 "https://www.googleapis.com/auth/gmail.readonly"
],
"gmail": {
 "name": "My Addon",
 "logoUrl": "https://www.gstatic.com/images/icons/material/system/2x/bookmar     k_black_24dp.png",
 "contextualTriggers": [{
  "unconditional": {},
  "onTriggerFunction": "buildAddOn"
  }],
  "primaryColor": "#4285F4",
  "secondaryColor": "#4285F4"
 }
 }

我们已经尝试在json上方加载gmail插件而不打开消息.

We have tried above json to load the gmail addon without opening message.

如何解决我们得到的错误:

How to fix the error we get:

打开电子邮件选择我的Gmail附件"的电子邮件以推荐 满足您的需求.

Open an Email Select an email for My Gmail Add-on to recommend content for you.

推荐答案

不幸的是,除非打开电子邮件,否则无法触发Gmail Add-on.我们也在寻找相同的功能,因为这对于我们的用例来说非常关键.有一个正在寻找该功能的人员的正在进行中的线程,请在该线程中添加您的评论以获取更多的权重.

Unfortunately Gmail Add-on can not be triggered unless you open an email. we are also looking for the same feature as it is very critical for our use case. There is an ongoing thread for the people that are looking for this feature, please add your comments to the thread for getting more weightage on it.

https://issuetracker.google.com/issues/111312904

https://issuetracker.google.com/issues/116537906

这篇关于如何在不打开邮件的情况下加载Gmail插件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆