Thunderbird + MozBackup.
Thunderbird IMAP deflate all the letters and MozBackup dampit profiles millproducts. You can do without MozBackup to copy the profile( C:\Users\noname\AppData\Local\Thunderbird\Profiles )
Configs connect via IMAP catch themselves, usually, but here
's the link for help from yandex.