【发布时间】:2019-06-29 21:00:11
【问题描述】:
Google Cloud Functions 允许您在触发时轻松激活功能(例如 Firebase 数据更改、HTTP 请求...)。
我正在寻找一种在用户向电子邮件地址发送(或通常回复)时执行功能的方法。例如,我的仪表板发送一封电子邮件,我想获取回复、解析内容并将其作为评论上传到 Firebase。
我了解 Google 建议使用 Sendgrid。但是我不明白: - 如何在回复时设置触发器 - 如何阅读内容并设置阅读方式
我只找到了如何发送电子邮件here
【问题讨论】:
-
您是否考虑过使用 webhook 来捕捉回复?我以前用 gmail 做过类似的事情。 sendgrid.com/docs/API_Reference/Event_Webhook/event.html
标签: python firebase google-cloud-platform google-cloud-functions sendgrid