In a previous article on syncing and restoring your GMail account with the excellent GMVault I voiced one minor and perhaps unfair criticism. Namely, that as backed up e-mails had no recognizable titles, it was virtually impossible to identify specific messages. But, of course, that was never the intended purpose of GMVault. It would have been the icing on the cake if it was. With Thunderbird configured with IMAP, GMVault backing up and restoring GMail it may seem that the belt and braces approach is complete--but there is one thing more we can do to make our e-mails fully accessible offline without an e-mail client. It doesn't require concatenated commands in a terminal or a free-standing piece of GUI software with possible dependencies. What is it? A simple Addon for Thunderbird called ImportExportTools.
Installing and configuring
Visit the link above and download the addon.Open Thunderbird, select Add-ons
from the Tools drop-down menu and then click on the little cog icon immediately to the left of the search bar. Click on Select Add-on from File
and install.
If prompted, restart Thunderbird and you're done. Now, go back to the Tools menu and the addon will have been appended to the drop-down list.
Before we can export any e-mails however, we need to visit Options
to specify a directory. Options has three tabs. I want the Export directories
tab. Select it, check the Export folders as single files
box, Browse will ungrey. Click on it and choose a directory for export.
Return to Tools > (1) ImportExportTools and select (2) Export all messages in the folder and finally choose (3) EML format.
When you click on (3) ImportExportTools will immediately commence the backup with a progress report running at the bottom of Thunderbird.
Viewing the e-mail backup files in Thunderbird and browsers
We're done. All that remains is to view the backup. Open your file manager of choice and navigate to where you backed up Thunderbird's emails. You will now see two items in that directory.
Opening the messages sub directory I can now see all the backed-up e-mails and, unlike GMVault, they are easily identified as ImportExportTools has retained all the Subject Headings and also the dates (albeit in the American calendric format)
and because I am viewing them in a file manager I can filter content to list display mails by person or topic. That narrows the search down considerably. It remains only to click on a given e-mail to view it in Thunderbird (or any other desktop client supporting the EML format).
The other item in the backup directory is index.html
. In some ways that is an even better option. As the file type suggests, it can be opened in any web browser. Here is how any browser will format it. In my case, Konqueror.
This layout is neatly tabulated and needs no commentary from me. To open any e-mail either middle click with your mouse and it will display in a separate tab. However, there is a lot of extraneous metadata that tends to clutter things so, if you prefer, just right click and open it with Thunderbird or your client of choice. As you can see from the screenshot above I've censored my e-mail address for the usual reasons of personal security which rather spoils the neat, clear appearance. Clearly, with backups of personal, confidential information this kind of material needs to be protected so users should think about either encrypting and or password protecting ImportExportTools backup directories.
Customize your backup
You may have noticed that I only backed up my inbox but this addon can be more selective. For example, if I want to backup another folder below the inbox all I need to do is to click on it to open it in the main Thunderbird window and repeat the process outlined above for the inbox. That folder will be added to existing backups under its own, named directory. While you can use Thunderbird's own filter feature, ImportExportTools has a better facility for this which will also backup your search too. From the Tools > ImportExportTools
select Search and export
and the following screen pops up.
From the search message field (top left) choose the folder you want to search.
I chose the e-mails in the Tony (Mobily) folder and specifically all the e-mails about Google Plus. Clicking on the search button (top right) will find them under that search request.
All that is left to be done is to select the file format for backup (eml) and hit the export button. The only difference is that unlike the first example the backup only has the messages and no index.html file.
I haven't explored all the features of this superb addon but hopefully sampled enough to convince you that, used in conjunction with an IMAP-configured Thunderbird and GMVault, it helps to cover all the angles. With these combined tools you need never worry again about losing e-mails or access to them even when you're offline and or away from an available internet connection. And of course, you will throw all these backups onto some external media just in case you also lose access to your computer too, won't you?