Email is not able to work

I have this on my email settings when i try to test email settings. I can’t send any emails.
Please help - i need to get this email working asap.
thanks in advance.

534-5.7.9 Application-specific password required. Learn more at 534 5.7.9 https://support.google.com/mail/?p=InvalidSecondFactor e66sm3528141pfe.142 - gsmtp

you need to allow access to less secure apps in your gmail account.
read the topic below