I'm using magento 2.3.1, every time I edited or add users or roles I get this error.
5.7.8 Username and Password not accepted. Learn more at 5.7.8 https://support.google.com/mail/?p=BadCredentials l17sm2797996wrq.37 - gsmtp
Email is working fine, I configured it with Google SMTP. Not sure what is the cause of that error. The user is added or edited correctly, I just see the error but no real impact, everything works.