Nodemailer and gmail

Hi, I have an app that uses nodemailer to send email using OAuth 2. Works well on local machine but not on netlify. I have seen this question asked but no solution has been provided. Please help.

hi there,

i don’t know much about nodemailer, but we do have an example of it on our functions playground that might be helpful: