DEV Community

Discussion on: Google Cloud Functions: Sending emails using Gmail SMTP and Nodemailer

Collapse
gregfenton profile image
gregfenton

So if I have a custom domain (@domain) on Google Workspace, and I have a bunch of Firebase projects each of which I would like to be sending emails "from @domain".

In which account do I use for getting the Service Account, in which do I enable the GMail API, how do I (securely!) get the configuration into each of these different Firebase projects, etc?

Collapse
i_maka profile image
Diego Perez Author

I haven't worked with Firebase, and I'm not entirely sure what you mean by "get the configuration". If you mean the function's URL, I use environment variables in my projects.

Regarding the service account... I would use any account from @domain