Magento 2.3 – Getting error while sending mail n localhost

I have used the correct email id and password. Also, on the less secure option in there. error: true message: “5.7.8 Username and Password not accepted. Learn more at ↵ 5.7.8 https://support.google.com/mail/?p=BadCredentials s1sm36837704pgv.87 – gsmtp ↵” I have added configuration as below ; I have used below link to set up send mail functionality https://www.magepal.com/help/docs/smtp-magento/?utm_source=smtp&utm_medium=github#installation

Details