How do you export or restore a specific Gmail keyword?


Within Backupify/Datto SaaS Protection for Google Apps, our search filters can search by a specific keyword, but we do not have the ability to export or restore from these results at this time. However if you export your data and use a third party application such as Thunderbird, you will be able to export or restore that keyword. Please follow the instructions below on how to achieve this:

Step 1: Install Thunderbird and "ImportExportTools" Add-On for Thunderbird
1) Download and Install the Thunderbird mail application:
2) Now, download the "ImportExportTools" extension utility that works with Thunderbird, go to
3) On that page, locate the "Download ImportExportTools (MboxImport enhanced)". Right-click the link to download the xpi file and select "Save target as". Please note the location that you saved the .xpi file
4) Launch Thunderbird, go to "Tools - Add-ons".
5) Now you are in the Add-ons Manager, go to the drop-down in the upper right corner that looks like a gear and click on "Install Add-on from file"
6) Locate the .xpi file that you downloaded and follow the instructions prompted to install
7) restart Thunderbird
Step 2: Extract the zipped up email archive file provided to you
1) Download and Extract the Gmail Export that we have sent you. The archive file is in .ZIP file format.

2) Extract the .zip file that you received. Once extracted, you will have several MBOX files which are each named according to the corresponding label in Gmail. Please note the location of where you extracted the files to.

Step 3: Import the emails from the MBOX file for the label that you want to view
1) In Thunderbird, import the MBOX file to a local folder; in the navigation pane on the left, then right-mouse click "Local Folders" and then select 'Import/Export - Import mbox file'
2) Choose the option to "import directly one or more mbox files" and select 'OK'
3) In the files browser, locate the folder where you extracted the mbox files to in step 3 above. Select the mbox file that corresponds with the label that you want to import and then click 'Open'
4) All emails from that label will now be importing. Please be patient, as it will take a while to load all of the emails.
Step 4: Create a filter to search by a specific date range
1) In Thunderbird, right click on the local folders drop down menu, select 'new folder', and give the folder a name. This will create a new folder in your local drive.
2) After the folder has been created, right click on the imported .mbox file and select 'search messages'.
3) Here you will be able to define search filters to narrow down your results. For searching for a specific keyword, I would set multiple parameters in at least the following five fields: To, From, CC, Subject, and Body. Then add your keyword in the search box next to each. After you have set all of your terms, select the button that states "Match any of the following". Then click search. (Please refer to the screenshot for an example of this step).
4) In the section below, you will see a list of email files populate that are within that search range. Select all of these files and on the bottom of the search window select 'File' then 'Local Folders" and then select the folder you have created. This will import all of the files from the search filters to this folder.
5) This folder can now be saved as a .mbox or be uploaded back to the original email account. To save it as an .mbox file, right click the folder and select 'ImportExportTools'. Click 'export folder' and select open. This will save the file as a .mbox file on your local drive.


To contact Backupify/Datto SaaS Protection support, click here to submit a Support Request, or click here for more contact options.

Was this article helpful?

0 out of 0 found this helpful

You must sign in before voting on this article.

Want to talk about it? Have a feature request?

Head on over to our Datto Community Forum or the Datto Community Online.

For more Business Management resources, see the Datto RMM Online Help and the Autotask PSA Online Help .

Still have questions? Get live help.

Datto Homepage