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.

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.

My obstacle right now is the summary that pops up when the archive job is complete.  If you’re only backing up one account it’s fine to see the summary but until I close the summary my backup of the second account doesn’t start.  Anyone who knows the command line switch to turn off the summary please post a comment.


    • Thanks Joerg. It would be nice to see a list of available switches that work though since we know of at least the two mentioned in the post.

  1. Hi Scott,
    unfortunately MailStore developers forgot to implement a command line switch for this function. What you can do is to kill the MailStore process at the end of batch or to use a program like autohotkey ( to let it do the “Clickwork” for you.

  2. Hi Scott,
    MailStore developers forgot to add a command line option to MailStore Home that’s responsible for closing the result Window automatically. What you can do instead is to kill the MailStore process after archiving (add the command to your batchfile) or to use a tool like Autohotkey ( to do the “clickwork” for you.

  3. Just use the command called “start” in front of every path in your batch file und do not forgett to put some sort of titel (e.g.: “something”) between start und the path. looks something like

    start “something” c:…
    start “someting” c..

    This will start the downloading processes at the same time.

  4. I found out you can import or archive 2 or more email accounts at the same time. By selecting multiple accounts and then clicking the create desktop shortcuts button.

    Then I opened the properties of the shortcut and saw this:

    Z:\MailStore\Application\MailStoreHome.exe /portable /c archive –id=”1,2″

    If you notice the –id switch has two numbers, they represent the individual email accounts, in his case 2 different accounts. So if you had 5 email accounts that needed archiving the –id would be –id=”1,2,3,4,5″ This will create a single process that will backup all the email accounts simultaneously. So this is the solution. The easiest way to create the batch file is to first select all the email accounts that need to be backed up while in MailStore, then click the create desktop shortcut. Then open the properties of the desktop shortcut and copy the Target line into notepad and save as anyname.bat where anyname can be any name you want, but you must add .bat at the end for it to work.

    • ‘So if you had 5 email accounts that needed archiving the –id would be –id=”1,2,3,4,5″’ – looks as if you have found a way to make MailStore Home back up more accounts than 3 (to the best of my knowledge, the current Home version, 10.0.1, is limited to a maximum of 3 accounts). Did you find a wirkaround for that?

  5. … and to stop the task check ‘Stop the task if it runs for’ at tab ‘Settings’.
    Running on my HomeServer for a week without complications.
    Thanks for the tips above!

  6. I found that it sometimes has issues connecting to multiple accounts at the same time, so there needs to be a delay. I use 90 seconds since each email usually takes 50-80 seconds to complete depending on number of emails that day (I run it daily).
    This is what I use:

    start “archiving account1” “C:\Program Files (x86)\MailStore\MailStore Home\MailStoreHome.exe” /c archive –id=”1″
    TIMEOUT 90
    start “archiving account2” “C:\Program Files (x86)\MailStore\MailStore Home\MailStoreHome.exe” /c archive –id=”2″
    TIMEOUT 90
    start “archiving account3” “C:\Program Files (x86)\MailStore\MailStore Home\MailStoreHome.exe” /c archive –id=”3″
    TIMEOUT 90
    taskkill /f /im MailStoreHome.exe

Leave a Reply

Subscribe to eBabble via email

Enter your email address:

My Sponsors

AbeBooks Click Here Elegant Themes Click Here BlueHost Click Here Amazon U.S. Click Here

Join eBabble on the socials

My Sponsors

Amazon Canada Click Here NewEgg Canada Click Here Book Depository Click Here eBay Canada Click Here

Pin It on Pinterest

Share This

Share this post with your friends!