Error in Seting up email for puls

I got this error.
SMTP HOST: smtp.gmail.com
SMTP PORT:587
TSL
SMTP USERNAME: given to me by AWS
SMTP PASSWORD: given to me by AWS
FROM ADDRESS: I am using gmail for that.

No matching clause: 535-5.7.8 Username and Password not accepted. Learn more at 535 5.7.8 https://support.google.com/mail/?p=BadCredentials i10sm14641834qkn.126 - gsmtp

@abo_turky20 If you are setting up SMTP via Gmail, then you need to provide the credentials you are using for Gmail and not AWS.

I did what mention, but I received error message.. please see attachment.

@abo_turky20 Google recommends using App Passwords instead of your account password.
Follow the link: https://support.google.com/mail/?p=BadCredentials