- IMAP server
- imap.yandex.ru
- Port
- 993 · SSL/TLS
- Username
- part before @
- Password
- app password
Яндекс.Почта → Gmail
Migrate email from Yandex Mail to Gmail
Migrating Yandex Mail to Gmail needs two separate steps on the Yandex side, and skipping either produces the same authentication error. That is why people spend hours re-checking a password when the real problem is that IMAP was never switched on.
- IMAP server
- imap.gmail.com
- Port
- 993 · SSL/TLS
- Username
- full address
- Password
- app password
What breaks on this particular pair
- You must both enable IMAP in mail settings and create an app password in Yandex ID. Missing either gives AUTHENTICATIONFAILED.
- For a standard mailbox the login is the local part only — anna, not anna@yandex.ru. Yandex 360 custom domains use the full address.
- Yandex drops connections under frequent requests. One thread with pauses beats five parallel ones.
- The Deleted folder is purged on a server schedule, so copying it is usually pointless.
FAQ
Common questions
Why does Yandex reject a correct password?
Nine times out of ten IMAP is not enabled in mail settings, or the account password is being used instead of an app password. Yandex returns the same error for both.
Does spam move too?
Only if you select it. Excluding Spam and Deleted is usually the right call — they are often the first few gigabytes and you do not need them.
Related routes
Other directions
Find out how big your mailbox is. It costs nothing.
Connect two servers, look at the size and decide. Or take the client and keep everything on your side.
Code on GitHub · built on imapsync · no sign-up