Research and implement how to create gmail application password. The google is no longer accept email credentials, due to this update since may 30 we need to setup an application password to email to continue sending email using gmail smtp.