I think it is probably not advisable to use gmail for production purposes, it would be better if you can use a separate mail server. But if you want to use gmail, you only need to allow less secure apps only in your from email, so it would be better if you can create a separate email for each project.

I did this procedure for one of my own project and it worked.

Hope this helps ✌😇

Software Engineer | WSO2

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store