Next.js Discord

Discord Forum

Trigger emails via Gmail in Next JS 14

Answered
Router Renegade posted this in #help-forum
Open in Discord
I am working on a project, where i want to create a button named "Send", which sends an email to multiple people. The emails of these people are stored in a mySQL database table in the backend. How to fetch it from there and send the Email using gmail API?

I want to automate this process such that trigger happens as and when table is updated. It should happnen in a continuous fashion.

Thanks

3 Replies

Sun bear
Answer
thanks