Relative Content

Tag Archive for javascriptfirebasegoogle-cloud-firestoregoogle-cloud-functionsnodemailer

Sending email upon document creation in firebase with cloud function

I’m currently building a flutter app that allows users to request meetings with others. When one user requests another user, the requested user should receive an email saying they got a request. when a new request is created, a new document is appended into the collection meeting_requests. Using the Google Cloud functions, I was able to write the following code with nodemailer to send an email upon creation of a request: