If you end up able the place it’s good to sync all emails from one account to a different, then you need to use the imapsync
command-line instrument to bulk copy, or transfer every little thing for you.
Step 1 – Get imapsync
You could get the imapsync
instrument working domestically.
It may be discovered right here https://github.com/imapsync/imapsync
Alternatively, if you’re utilizing a Mac and have homebrew put in, you then’re in luck!
Merely brew set up imapsync
and also you’re prepared.
Step 2 – Allow imap
on the accounts
By default, imap
is commonly disabled on the e-mail server. We’ll discover Gmail on this case to check a sync.
In Gmail, beneath Settings, discover Forwarding and POP/IMAP
and ensure that imap is enabled.
Additionally ensure that Auto-Expunge
is off, and choose Instantly delete the message without end
. Ensure that Folder measurement limits
aren’t set.
Step 3 – Configure your account creds
You have to the username and password for every account, so have them handy!
Step 4 – Run the command!
Now you can run the instrument to switch all emails from account1
to account2
.
Sync from host1 to host2 and delete after success on host1
This selection will will let you routinely sync every little thing in source_account (host1
) to destination_acount (host2
) and on profitable migration of e mail, it’s going to delete the e-mail/s within the source_account.
This selection is nice if you’re migrating from 1 account to a different:
imapsync
--host1 imap.gmail.com --user1 [email protected] --password1 [email protected]$$w0rd!
--delete1
--host2 imap.gmail.com --user2 [email protected] --password2 [email protected]$$w0rd!
Sync from host1 to host2 with out deleting something
In the event you don’t wish to delete any e mail/s in your source_account (host1
) after profitable e mail transfers, then you may merely omit the --delete1
flag, as follows:
imapsync
--host1 imap.gmail.com --user1 [email protected] --password1 [email protected]$$w0rd!
--delete1
--host2 imap.gmail.com --user2 [email protected] --password2 [email protected]$$w0rd!