Email Audit API overview

The Email Audit API lets Google Workspace administrators audit a user's email, email drafts, and archived Hangouts chats. In addition, a domain administrator can download a user's mailbox. You can use the Email Audit API only for lawful purposes in accordance with your Customer Agreement. The Email Audit API only applies to Google Workspace, Education, and ISPs accounts. You can't use it with a Google Workspace or Gmail account that isn't hosted by the Google Workspace products.

The Email Audit API supports the Google Data API protocol. The Google Data API conforms to the Atom Publishing Protocol (AtomPub) publishing and editing model. The AtomPub HTTP requests use the Representational Set Transfer (RESTful) design approach to web services. For more information, see the Google Data APIs developer overview.

Audience

This document is intended for programmers who want to write client applications that, for lawful auditing purposes, can audit a Google Workspace user's mailbox.

This document assumes that you're a Google Workspace domain administrator and that you understand the general ideas behind the Google Data API protocol, and that you're familiar with your Google Workspace Admin console.

Access account information