copy emails from old account to new

My mail server crashed, and I am currently unable to connect to it, so I had to set up a new one. I added the new account to eM Client and tried to copy emails from the old inbox to the new one. While some emails copied successfully, the process eventually hangs with the error: ‘Download items from server failed.’

I am willing to accept that some emails might be lost, but is there a way to automatically skip the ones that eM Client cannot download? I would like to migrate all the emails I have stored on my hard drive, but doing this one by one would take forever.

Is there perhaps a filter to view only the successfully downloaded emails, so I could select and copy them in bulk? I have some emails on my laptop and others on my PC, and being able to skip the problematic ones would allow me to recover as much data as possible to move to the new server.

Is there any workaround for this?

Best regards,
J.K.

If you had an IMAP, Exchange, Office 365 or iCloud account you can restore all your previous missing emails to (.eml) files “if it was fully locally cached in eM Client” to then sync back to your new mail server account. If the emails were not fully locally cached in the client then it will keep trying to download them. So hopefully you have a previous saved locally cached backup.

If you were making regular eM Client automatic periodic backups or regular manual backups via “Menu / Backup” prior to your mail server crash and have those backed up which are by default in your “Documents / eM Client” folder, then you can “try restoring in Offline mode” and export whatever emails you have missing to .eml files and then import those into your current eM Client installation as per the below eM Client restore blog extract below.

Note:- If you do try restoring previous backups to export emails, “make a manual backup of your current eM Client setup first” via “Menu / Backup” in case you need to restore for any reason. You can see when the backup is complete in Show Operations via the dropdown on the right of Refresh.

Restore in Offline Mode

Synced accounts that have been removed from the server can still have their backup restored. If you’ve enabled automatic backups; your information will be recovered from the last time that you were online and a backup was performed. Follow these steps to restore your backup in offline mode:

  • Navigate to Menu > File > Restore.
  • Select your backup and start the restore.
  • When the application shuts down, hold down the Ctrl key - you’ll be asked if you would like to start the application in offline mode.

Once the restore is completed, you’ll be able to see all of the messages, calendar events, contacts, notes, and tasks from the last time you were online and saved your information in a backup. Restoring in online mode will replace the restored data from the backup with new data from the server. This is because the server contains the newest data, so it has priority. Everything would be wiped out after the initial sync. If you restore your backup data and the app is offline: you have time to either export the messages into files or copy them into local folders.

Export the data using Menu > File > Export. Alternatively, you can select and then drag and drop specific files in the folders on your device.

Recently had all email messages from my gmail (IMAP) account disappear - several years worth. eM C Tasks, mail folder structures, and Contacts are fine.

I have email on a Win PC with eM C, an iPad with eM C, and an iPhone with no eM C.

I backup daily automatically and keep the last 5, but none contain messages.

I have 157 em C backups on an external drive.
Can I move them to where Restore can get them?
What procedures and precautions should I take?

I tried gMail’s recovery but it couldn’t find anything.

Anyhow, I can’t allow this to happen again.

Some solutions I’m thinking of are:

1 - Set rules to have all received and sent messages - move - to local eM Client folders. I tested it and it works. Are Local folders backed up - with all contents?

or

2 - Change from IMAP to POP3. Not as convenient for multi-device mail, but possibly more secure for my messages?

AND

I just discovered that there is an Archive feature, but I’ve found only sparse explanations for usage.

  • Does it work with POP mail?
  • Does it include all message contents?
  • Is the archive on my pc? Where and in what file format?
  • How do I access archives to extract the contents and get them back to the eM C client?

Thank you for your help.

Go to your Gmail IMAP account ”All Mail” folder as “could be the missing emails had the Tags / Labels removed” for unknown reasons which then will only show in the All Mail (Archive folder). If the messages are in there, then drag or move them back to the original folder / label locations.

If the missing messages are not in the All Mail folder “you might have possibly moved them to another folder outside of your mail account” like in an “Archive folder / Data file or other Local folder”. So dbl-check “below your Gmail account”.

I have 157 em C backups on an external drive.
Can I move them to where Restore can get them?

If they are not in All Mail or any other non Gmail folder then as you have eM Client backups, suggest to try restoring a recent backup in offline mode “when you know those emails were there” as per the eM Client blog post extract above, and then export those to (.eml) files. Then import those back into your current eM Client account.

So as long as those missing emails “were fully cached locally in your backups”, you should then be able to retrieve your missing emails.

What procedures and precautions should I take?

Before trying to restore a backup, make a new backup first via “Menu / Backup”. You can see when the backup is complete in Show Operations via the dropdown on the right of Refresh.

One mess leads to new ones.
I didn’t want to restore ancient backups until I stabilized my eM C setup, so I tried to change from IMAP to POP, for more control.

I went to GMail online and made the needed changes. It warned that making the change would be slow, but it has been several days.

When changing my eM C settings several fields that gmail requires are missing, as follows:

POP
Requires SSL (must be YES)

SMTP
Requires SSL (must be YES)
Requires TLS: Yes (if available)
Requires Authentication: (must be Yes)
Port for TLS/STARTTLS: 587 ( I used STARTTLS, thinking it would get Port 587 from the Port field)

I tested by sending messages to my gmail - from online - from a different provider - not gmail.

The results are:

  • No gmail is ever received in eM C on my PC.
  • A red triangle shows every time I refresh (download) from gmail.
  • gMail online, got the test mails.
  • My iPhone (not using eM C), got the test mails.
  • My iPad (using eM C) got the test mails.

Here are 4 screen shots that may help.





• eM Client Version as of 2026-03-21.jpg
• eM Client SMTP Setup Screen Shot.jpg
• eM Client POP Setup Screen Shot.jpg
• eM Client Log Screen Shot.jpg As you can see, POP was not set up correctly.
I exported the following hoping to put them back:
• Tasks (as scheduled items.ics) one file
• Contacts (as individual VCFs)
• Recent backups, (they won’t have the missing emails). I will try the ancient ones.
Thanks for your help.

@UncleStu

I didn’t want to restore ancient backups until I stabilized my eM C setup, so I tried to change from IMAP to POP, for more control.

When changing my eM C settings several fields that gmail requires are missing.

If you want to change from a Gmail IMAP account to Gmail POP account in eM Client, “you don’t change your current IMAP account settings”

You first need to “manually add your same Gmail address as a POP account” via “Add account / Mail / Other” and follow the manual wizard, which will authenticate via an OAuth token and ask you to give eM Client access to your Gmail account and then will automatically put in the correct Gmail POP and SMTP settings.

Note: At the end of the POP account wizard (before you click finish) make sure to choose if you want your POP account mail in a separate Account folder or in Local folders.

You should then see two accounts with your same Gmail address. 1 x IMAP & 1 x POP

The POP account settings should be.

Incoming Server pop.gmail.com
Port 995
Security Policy "Use TLS on Special Port”

Outgoing Server smtp.gmail.com
Outgoing Server Port 587
Security Policy "Use STARTTLS (Always)

Once you have your Gmail POP account setup, then “drag / move all your existing Gmail IMAP account mail and any custom mail labels (folders) into your POP account”.

Next once you are confident all your existing Gmail IMAP account emails are all in your POP account then remove your Gmail IMAP account.

Note: After you move your Gmail IMAP account mail and mail folders to your Gmail POP account, eM Client will then start synching. To see when that’s completed click the dropdown on the right of Refresh and click “Show Operations”. It can take time depending on the size of your online mailbox.

Lastly be aware that if you change to POP, “only your Inbox will synchronise” to eM Client and “no other folders will sync to any other device”.

So I would personally recommend “to stick with your IMAP account” and “try restoring your backups in offline mode” to try and restore your missing emails. As I said “if your email was fully cached locally” then you can restore it back.

Here is a post I wrote on how to restore missing email from an eM Client backup.

(How to do a partial restore from a backup)

1). If you have been making regular eM Client backups and have an eM Client backup zip file in your default “Documents / eM Client” folder or other backup location with the messages you need, then “Close eM Client” and then go to the following eM Client Pc or Mac database folder location and rename the folder to eg: eM Client-Current.

(Hidden database folder Windows)
C:\Users%username%\AppData\Roaming\eM Client

(Hidden database folder Mac)
/Users/User Name/Library/Application Support/eM Client

2). Then “disconnect from the Internet” and then open eM Client and “skip the setup account wizard”. Then restore your eM Client backup.zip file with the missing messages in it via “Menu / File / Restore”.

3). Next you need to export your messages you need to (.eml) files either via using “Menu / File / Export” or by Creating a folder on your desktop called eg: eM Client-Old , and then dragging / moving any messages and/or any custom message folders you do want to the eM Client-Old desktop folder.

4). Then once you have all the messages out of eM Client, then close eM Client and “delete the new eM Client hidden database folder”. Then rename your original eM Client-Current database folder back to eM Client. Then reopen eM Client.

5). Next import your missing messages that you either exported / saved via “Menu / File / Import”, or by dragging the messages & message folders back from the eM Client-Old desktop folder into eM Client. Then lastly reconnect to the Internet.