Imapsync
Imapsync is a command-line tool for migrating or backing up IMAP email accounts, offering incremental and recursive transfers between mailboxes across different servers. The latest version 2.290 supports Windows, Linux, and Mac OS X, with pricing options starting at €60 for software and €120 for software with professional support.