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

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

问题描述

收到新电子邮件时,是否可以通过gmail自动触发Google Apps脚本?

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 Apps脚本在Gmail收到新电子邮件时运行脚本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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