Activate 2-Step Verification and App passwords. Detailed instructions here: https://support.google.com/mail/answer/185833
Activate 2-Step Verification and App passwords. Detailed instructions here: https://help.yahoo.com/kb/SLN5013.html
After completing the steps above, use your login and the received App password to connect to the mail server from LetsExtract (NOT the password from your account!).