如何实时监控邮件? [英] How to real-time monitor the emails?

查看:21
本文介绍了如何实时监控邮件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

美好的一天!我想为我的公司提供谷歌应用程序的实现.我们还需要回复我们在 10 分钟内通过我们的网站收到的消息.为此,我们庞大的销售经理团队会在空闲时间处理电子邮件.所以我想写一个脚本(网络应用程序)来指示所有带有倒计时的收入电子邮件.每个销售经理都可以点击电子邮件并通过网络界面进行回复.

Good day! I want to offer the implementation of google apps to my company. Also we have a need to reply on messages, that we recieve through our web-site in 10 minutes time limit. For this purpose our big team of sales managers a handling emails when they have a free time. So i want to write the script (web application) that will indicate all the income emails with countdown. Every sales manager could click on email and reply on it from web interface.

我写了一个程序,每 5 秒一次.从特殊标签中获取所有电子邮件(所有这些电子邮件都放在此标签文件夹中).当 smbdy 回复它时 - 它移动到另一个标签.

I wrote the program, that every 5 sec. take all the emails from special label (all these emails are drops in this label-folder). And when smbdy replies on it - it moves to another label.

但几个小时后,我收到消息说我超出了配额.我看到读写操作的每日配额是 20 000k.

But after couple of hours i receive the message that i am above the quota. As i see the daily qouta to read-write operations is 20 000k.

有能力解决我的问题吗?增加配额?或者也许还有其他可能实时监控电子邮件.谢谢!

Is any ability to solve my problem? Increas quota? or maybe there are any another possibilities to monitor emails in real-time. Thank You!

推荐答案

Gmail API 最近通过谷歌云发布/订阅服务添加了推送通知.我写了一个关于如何做到这一点的示例脚本是 Google Apps 脚本.您可以在以下位置查看代码:

The Gmail API recently added push notifications via the google cloud pub/sub service. I wrote an example script on how to do this is Google Apps Script. You can view the code at:

https://github.com/Spencer-Easton/Apps-脚本-Gmail-推送通知

这篇关于如何实时监控邮件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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