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 ✌😇

Undergraduate | Computer Science and Engineering at University of Moratuwa , Sri Lanka