Your settings look good, so look at Gmail.
2-factor auth cannot be used by printers, so that cannot be turned on, so check that
Then check right below that to see if Gmail even saw it try logging in and blocked it intentionally
And as stupid as it sounds, make sure the time and date is right to within 3 minutes of current local time, or it will /should fail to login.
Update to the latest firmware via this link
I tried installing scan to email via Gmail with the configuration below and it is still not working. I enabled less secure apps in gmail as well.
Is there anything else I need to do ? Error is Attestation fails by SMTP-A
Thanks a lot