Identify and Export Messages for Deletion

Using Gopher for Gmail's Bulk Purge Emails feature requires a search result set, output as a CSV file, from the Email Log Search tool in the Google Workspace Admin Console.

It is important to be aware of the size limitations of Email Log Search outputs.  We believe that in most school use-cases where there are <5000 recipients on the same message these limitations should not be a problem. However, in very large-scale send scenarios, a more robust, scripted approach could be necessary. The CDW Amplified for Education Technical Services team has alternatives available in these scenarios. 

Identifying Messages Using Email Log Search

Any given email(s) you want to target for deletion, whether spam, phishing attack, or inappropriate/accidental send, will have some combination of details that make it queryable with the Email Log Search tool. Some additional, useful fields for narrowing search include Message ID, Sender IP, and Recipient IP.

MessageLogSearch.png

Click on a message in the results to see message details.

MessageDetails.png

These additional message details can be revealed by selecting Show original within the Gmail message interface.

ShowOriginalMessage.png

OriginalMessage.png

 

Exporting email log search results

Once you've positively identified the offending messages via Email Log Search query, export them in CSV format as shown below.

  1. Click Download DownloadButton.png at the right of the results list.
  2. From the popup, click Download as a CSV file.
    DownloadPopup.png
Document Version Date Description of Change
1.0 3/12/2024 Removed reference to upvote the Bulk search/delete message by ID for all domain users feature, made Exporting email h2
1.1 7/23/2024 Updated images, reverify

 

Articles in this section