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

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

问题描述

美好的一天!
我想向我的公司提供Google应用程序的实施。
我们还需要回复邮件,我们在10分钟内通过我们的网站收到时间限制。为此,我们的大型销售经理团队在有空闲时间处理电子邮件。
所以我想写的脚本(网络应用程序),将指示倒计时的所有收入电子邮件。每个销售经理都可以点击电子邮件并通过网页界面回复。



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



但几个小时后,我收到消息说我高于配额。
正如我所看到的每日qouta读写操作是20 000k。

是否有能力解决我的问题?
增加配额?或者可能有任何其他可能性来实时监控电子邮件。
谢谢!

解决方案

Gmail API最近通过google云端pub / sub服务添加了推送通知。我编写了一个关于如何执行此操作的示例脚本,即Google Apps脚本。您可以在以下网址查看代码:

https://github.com/Spencer-Easton/Apps-Script-Gmail-Push-Notifications


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.

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.

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!

解决方案

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-Script-Gmail-Push-Notifications

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

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