Automating MailStore Home

I recently installed and reviewed MailStore Home, a great program for backing up your email.  I have three Gmail accounts that cover the different aspects of my life so I set all three up.

While I enjoy all of MailStore Home’s features I really wanted to automate the backup process so I wouldn’t have to manually run it every week.  Searching the internet and MailStore’s help and forums I didn’t see a solution but it’s actually right there in the program if you look hard enough.

MailStore Home Archive

Once accounts are set up go to the Archive screen, select an account and click “Create Desktop Shortcut”.  Open the shortcut, copy the target line, open Task Scheduler, create a new task and paste in what you copied.  Should look something like this:

“C:Program Files (x86)deepinventMailStore HomeMailStoreLocal.exe” –import –id=1

Fairly straightforward command line: import to add emails and id is assigned as you add accounts.  I created a batch file with my three command lines, one for each id, and it runs in sequence.  Trying to run more than once instance at a time will get you an error that MailStore is already running.

Update 2020/06/09. This post continues to get hits and emails. Thanks to this link and reader Ruud S. you can stop the process automatically by checking the option “Stop the task if it runs longer than” in the Task Scheduler. Let it run a few times to get an idea of how long is normal and then add a little extra.