Gmail messages

Supported editions for this feature: Enterprise Plus, Education Plus. Compare your edition

As an administrator, you can use the security investigation tool to view and investigate live-state data about Gmail messages in your organization. For example, using the Gmail messages data source, you can run searches in your organization on the names of attachments, email content, message IDs, senders, and recipients.

Run a search for Gmail message data

Your ability to run a search depends on your Google edition, your administrative privileges, and the data source. You can run a search on all users, regardless of their Google Workspace edition.

To run a search in the security investigation tool, first choose a data source. Then, choose one or more conditions for your search. For each condition, choose an attribute, an operator, and a value

  1. Sign in to your Google Admin console.

    Sign in using your administrator account (does not end in @gmail.com).

  2. In the Admin console, go to Menu and then Securityand thenSecurity centerand thenInvestigation tool.
  3. Click Data source and select Gmail messages.
  4. Click Add Condition.
    Tip: You can include one or more conditions in your search or customize your search with nested queries. For details, go to Customize your search with nested queries.
  5. Click Attributeand thenselect an option.
    For a complete list of attributes, go to the Attribute descriptions section (later on this page).
  6. Select an operator.
  7. Enter a value or select a value from the list.
  8. (Optional) To add more search conditions, repeat steps 4–7.
  9. Click Search.
    You can review the search results from the investigation tool in a table at the bottom of the page.
  10. (Optional) To save your investigation, click Save and thenenter a title and descriptionand thenclick Save.

Notes

  • In the Condition builder tab, filters are represented as conditions with AND/OR operators. You can also use the Filter tab to include simple parameter and value pairs to filter the search results.
  • If you gave a user a new name, you will not see query results with the user's old name. For example, if you rename [email protected] to [email protected], you will not see results for events related to [email protected].

Attribute descriptions

For this data source, you can use the following attributes when searching log event data:

Attribute Description
All content Content within an email message, including visible body content, content within text attachments, and content within common attachment types, such as DOC, XLS, and PDF. Doesn't include URLs of links in the message body.
Attachment name Name of the attachment in a message
Bcc Address of users who are Bcc'd in a message
Cc Address of users who are Cc'd in a message
Date Date and time of the event (displayed in your browser's default time zone)
Has attachment Whether or not a message has an attachment
Label Label for the message—for example, Deleted, Inbox, Sent, Spam, Starred, Trash, or Unread
Message ID The unique message ID located in the message header
Message size The size of the message
Recipient The recipient's email address
Sender The sender's email address
Subject The email subject line 

Take action based on search results

After you run a search in the security investigation tool, you can act on your search results. For example, you can run a search based on Gmail log events, and then use the tool to delete specific messages, send messages to quarantine, or send messages to users' inboxes. For more details about actions in the security investigation tool, go to Take action based on search results.

Manage your investigations

Expand all  |  Collapse all & go to top

View your list of investigations

To view a list of the investigations that you own and that were shared with you, click View investigations . The investigation list includes the names, descriptions, and owners of the investigations, and the date last modified. 

From this list, you can take action on any investigations that you own—for example, to delete an investigation. Check the box for an investigation, and then click Actions.

Note: Directly above your list of investigations, under Quick access, you can view recently saved investigations.

Configure settings for your investigations

As a super administrator, click Settings  to :

  • Change the time zone for your investigations. The time zone applies to search conditions and results.
  • Turn on or off Require reviewer. For more details, go to Require reviewers for bulk actions.
  • Turn on or off View content. This setting allows admins with the appropriate privileges to view content.
  • Turn on or off Enable action justification.

For instructions and details, go to Configure settings for your investigations.

Manage columns in your search results

You can control which data columns appear in your search results. 

  1. At the top-right of the search results table, click Manage columns .
  2. (Optional) To remove current columns, click Remove item .
  3. (Optional) To add columns, next to Add new column, click the Down arrow  and select the data column.
    Repeat as needed.
  4. (Optional) To change the order of the columns, drag the column name.
  5. Click Save.
Export data from search results

You can export search results in the security investigation tool to Google Sheets or to a CSV file. For instructions, see Export search results.

Share, delete, and duplicate investigations

To save your search criteria or share it with others, you can create and save an investigation, and then share, duplicate, or delete it.

For details, go to Save, share, delete, and duplicate investigations.

When and how long is data available?

For more information about data sources, go to Data retention and lag times.

 

 

Was this helpful?

How can we improve it?
true
Start your free 14-day trial today

Professional email, online storage, shared calendars, video meetings and more. Start your free Google Workspace trial today.

Search
Clear search
Close search
Google apps
Main menu
2887677376934719022
true
Search Help Center
true
true
true
true
true
73010
false
false