使用 Google 应用程序脚本在新电子邮件到达 gmail 时运行脚本 [英] Run script when new email arrives on gmail with Google apps script

查看:18
本文介绍了使用 Google 应用程序脚本在新电子邮件到达 gmail 时运行脚本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我收到新电子邮件时,是否可以使用 gmail 自动触发 Google 应用程序脚本?

Is it possible to automatically trigger a Google apps script with gmail when I get a new email?

推荐答案

不可能.而是使用时间触发器来检查要处理的新邮件.一种方法是使用 gmail 规则来标记您将处理的邮件.然后只接收带有该标签的电子邮件.

Not possible. Instead use a time trigger to check for new mails to process. One way to do it is by using a gmail rule to label the ones you will process. Then only get emails with that label.

这篇关于使用 Google 应用程序脚本在新电子邮件到达 gmail 时运行脚本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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