通过 Google 云平台(无第三方)从 Firebase 发送自动电子邮件

Sending automated emails from Firebase through Google Cloud Platform (no third parties)

我们已经进行了很多小时的研究。

第一个随处可见的解决方案(其他 StackExchange 问题也是如此)是使用第三方服务 SendGrid.com,有时与 Zapier 结合使用,但这不是方法我们想要实施。

对于中间没有第三方的发送,第一个似乎可行的解决方案是 "Firebase Triggers",它在 Google I/O 2014 年宣布,但从未实现并且 seemingly was merged into Google Cloud Functions 仍处于 Alpha 阶段。

我很确定大约一年前我在 FireBase 博客的 link 中看到了解决方案,但是 the only post that seems to have existed upon that matter is now empty.

我们以前从未使用过 GCP,但我们的逻辑告诉我们应该使用另一个现有的 GCP API 和 Mail API 来解决这个问题(在 Google 内)显然是正确的,但我们的 Firebase Web 应用程序似乎无法发出请求。

任何人(最好有 GCP 经验)都可以解释这里的情况吗?Google FireBase 开发人员如何向他们的客户发送电子邮件?

Firebase 函数

正如@ajostergaard 所说,今天 Google 有 announced its much waited Google Cloud Functions, but precisely for Firebase they've implemented their own specific Firebase Functions which substitutes the Triggers shown in conferences since Nov. 2014 (more than 2 years ago!) and mentioned in Firebase groups .

这是一个示例 link,它准确解释了如何执行此问题中的要求: