IMAP yandex.ru - LOGIN invalid credentials or IMAP is disabled

----------IMAP----------
connect mailcore::IMAPSession:0x7ffddcf1e4e0

OK Yandex IMAP4rev1 at sas2-1e59ad28a72c.qloud-c.yandex.net:993 ready to talk with ::ffff:89.222.174.138:38922, 2020-Aug-01 08:34:38, cYXlpv732Cg1
ssl connect imap.yandex.com 993 2
OpenSSL version: OpenSSL 1.1.0f 25 May 2017
1 CAPABILITY
CAPABILITY IMAP4rev1 CHILDREN UNSELECT LITERAL+ NAMESPACE XLIST BINARY UIDPLUS ENABLE ID AUTH=PLAIN AUTH=XOAUTH2 IDLE MOVE
1 OK CAPABILITY Completed.
connect ok
login
2 LOGIN "******@yandex.ru" *********
2 NO [AUTHENTICATIONFAILED] LOGIN invalid credentials or IMAP is disabled sc=cYXlpv732Cg1_010534_2-1e59ad28a72c

Fedora 32
Mailspring Version: 1.7.8-13635bcfstrong text

(Originally posted by bazhenovrussia on GitHub.)

Visit Yandex.Mail — free, reliable email and make sure you’ve checked “enable IMAP” on that screen. You may also need to create an app password for Mailspring depending on the options you choose on that page.


(Originally posted by bengotow on GitHub.)

Still the same problem with me and yes I enabled the IMAP.

(Originally posted by Minashraf on GitHub.)

The problem is, that we can’t use our normal yandex password. Go to https://passport.yandex.com/profile/ and create new app password for mail and then use it as your password in mainspring. Worked for me.

(Originally posted by simon-the-shark on GitHub)

It works for a time. In a week it happens AGAIN. It’s EXTREMELY FRUSTRATING!