To export and extract information from Google Vault, a list of accounts will need to be provided for Google Vault Extractor to read. This list is a simple text file, where each account is entered on a new line. For more information, see Set up and Configure the Google Vault Extractor.
To determine what data to extract, find out which labels are necessary and which are not. Typically, labels like "Draft", "Spam", and "All Mail" are excluded from a Google Vault migration. Once you have this list, build a search query that returns the expected results and include it in the Google Vault Extractor command.