It's easier than you think.
Migrating messages between two accounts sounds like a daunting task. It doesn't have to be. There are multiple possibilities.
This might be the easiest way if you don't have thousands of messages. It is simple:
- add both of your source and destination accounts to Thunderbird,
- select all messages in the source account and move them (drag-and-drop) into the new account.
The procedure might need some time to complete.
One of the best tools to migrate emails from one IMAP account to another is ImapSync tool. We love it as it is super scriptable, and you can use it to migrate multiple email accounts at once.
Please see the example below for migrating accounts using imapsync. The example would run in dry mode, meaning it would only log the actions it would take, but not really take tham.
imapsync --dry \ --host1 imap.sourcedomainimapserver.com \ --user1 email@example.com \ --password1 1234 --ssl1 --sep1 . \ --prefix1 "" \ --host2 imap.migadu.com \ --user2 firstname.lastname@example.org \ --password2 1234 --ssl2
Once you are sure all your emails would be correctly transferred trough the dry run, remove the
--dry option and re-run the command. This time, your messages will really be transferred.
Please take care that the folder names correspond correctly. It can happen, for instance, that on the old account the
Sent folder has a different name, let's say
Sent Items. If you run the command as above, it will simply create a new folder
Sent Items instead of moving them into
Sent. For transferring messages from Gmail, please see the ImapSync FAQ for Gmail.
Use ImapCopy From OVH
Another way to transfer your email messages is using the imapcopy tool from OVH. First, you fill in the information about the source and second, the server information for your migadu account. We, however, have not used it for larger accounts (>100 MB), so if you try it for larger accounts please let us know your experience.