Receiving Emails with Google Cloud Functions in Firebase
Asked Answered
D

1

5

I'd like to build an email drop service. Is it anyhow possible to receive incoming emails with Google cloud functions, process them and store them in firebase db?

I'm thinking of something similar to Amazon simple email service SES in combination with lambda functions. Does any of the available email services like sendgrid, mailgun, postmark or any other has api's to trigger Google Cloud Functions on incoming emails?

Dacron answered 26/5, 2017 at 22:17 Comment(0)
E
7

Yes, services like Sendgrid and Mailgun allow you to set up webhooks for incoming mail. You can configure these webhooks to point to an HTTPS Cloud Function, at which point it will be invoked each time you get a new incoming email.

Enjambement answered 26/5, 2017 at 23:26 Comment(3)
But there are no direct hooks yet or? Always need to go over https hooks?Dacron
Correct, there are no first-class event sources for incoming emails today with Cloud Functions.Enjambement
Do you know if there is still no solution for this?Electrobiology

© 2022 - 2024 — McMap. All rights reserved.