Using The Unified Query Builder

Forensic Email Collector is able to perform in-place searches on Gmail / G Suite, Exchange / O365, and IMAP providers. Because these searches run directly on the server, the search syntax and user interface for each in-place search type is different. 

The Unified Query Builder provides a uniform user interface and query construction experience across all searchable provider types. It also helps create concise and efficient search queries without having to know the search syntax of each provider in great detail.

Launching The Unified Query Builder

The Unified Query Builder can be launched by entering the in-place search interface for the provider, and then clicking on the " Query Builder" hyperlink as in the screenshot below:

Using The Unified Query Builder

The user interface of the Unified Query Builder looks as follows:

Note: The "Gmail Labels" section of the Unified Query Builder is only applicable to Gmail API acquisitions. Exchange/O365 and IMAP providers have the concept of folders, and acquisition can be limited to specific folders by selecting/deselecting them as needed in the folder tree view.

Participants

The From, To, CC, BCC checkboxes and the Participants textbox form the Participants section of the Unified Query Builder. You can enter a list of participants (emails, names, domains, etc.) one participant per line, and choose the metadata fields (i.e., From, To, CC, BCC) that should be searched by checking and unchecking the corresponding checkbox. It is not necessary to put the participant strings in quotes—the Unified Query Builder would handle that as needed.

Date Restriction

You can use the "After" and "Before" date selectors to specify a date restriction for the acquisition. Enabling only one of the selectors would cause a one-sided date restriction. For example, after January 15, 2016.

Gmail Labels (Gmail API Acquisitions Only)

The Gmail Labels panel lists the Gmail labels found in the mailbox. You can choose one or more of the labels to limit the acquisition to those specific labels. You can use the filtering textbox above the label tree to narrow the tree down to labels that contain the search string. This makes it easier to locate a label when a mailbox contains a large number of labels.

If you would like to acquire the entire mailbox regardless of the Gmail labels, keep the "Gmail Labels" checkbox unchecked (i.e., do not select any labels for filtering). If you check the "Gmail Labels" checkbox and check all of the listed labels, this would be equivalent to searching the entire mailbox except you would be introducing redundant label search terms. Unified Query Builder detects this condition and ignores the label restriction if the "Gmail Labels" checkbox is checked and all the listed labels are also checked.

How Are The Criteria Combined?

1. The search categories in the Unified Query Builder are combined using the AND Boolean operator as below:

<participant criteria> AND <date criteria> AND <label criteria>

So, if you specify participants, a date range, and certain Gmail labels, responsive messages would have to have the specified participants, and be within the specified date range, and contain the selected Gmail labels.

2. The criteria within the Participants and Gmail label categories are combined using the OR Boolean operator. For example, if you specify "jdoe@example.com" and "msmith@example.com" as participants and 1/1/2015 to 1/1/2017 as the date range, the responsive messages would have to have the participants "jdoe@example.com" or "msmith@example.com", and be within the time period 1/1/2015 to 1/1/2017.

Converting to an In-Place Search Query

Once you have finalized entering the search criteria, you can click the CONVERT TO QUERY button to convert the criteria to a search query specific to that email provider. Once the query has been formed, you can edit the query inside the in-place search interface to make final adjustments if needed.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.