SMTP -> ERROR: Password not accepted from server: 535-5.7.8 Username and Password not accepted. code example
Example: SMTP ERROR: Password command failed: 535-5.7.8 Username and Password not accepted.
Change Google account access for less secure apps
Instructions in:
https://support.google.com/accounts/answer/6010255
https://support.google.com/accounts/answer/6009563