Integrate Gmail with a third-party archiving solution
As a G Suite administrator, you can set up a third-party archiving solution to archive Gmail journal messages. This solution can be useful to:
- Comply with email requirements, such as SEC Rule 17a-4
- Continue using a third-party archiving solution
- Allow user access to archives
How integration works
To integrate Gmail with a third-party archiving solution, you specify an email address where journal messages are forwarded. If you specify more than one email address, journal messages are sent to all email addresses.
Set up a third-party archiving solution
From the Admin console Home page, go to AppsG SuiteGmailAdvanced settings.
Tip: To see Advanced settings, scroll to the bottom of the Gmail page.
- (Optional) On the left, select the organization.
- Under Routing, scroll to Third-party email archiving or, in the search field, enter Third-party email archiving.
- Enter the email address for where you want to send journal messages.
- Click Add Setting.
- At the bottom, click Save.
How messages are managed
Versions of the messages that are journaled
- Inbound messages—The version of the message received by the user is the one journaled. For example, if a content compliance policy triggers and strips the attachment, the journal copy won’t have the attachment.
- Outbound messages—The version of the message sent by the user is journaled. For example, if a content compliance policy triggers and strips the attachment, the journal copy would retain the attachment.
- Internal messages—For messages sent within your domain, acts like an inbound message for the recipient and an outbound message for the sender.
Messages that are sent to admin quarantines
- Inbound messages—If an inbound message is sent to admin quarantines, the journal copy isn’t sent until the message is released from the quarantine. If a quarantined message is denied, the user never sees the message and therefore it’s not archived.
- Outbound messages—If an outbound message is sent to admin quarantines, a journal copy is sent when the user clicks Send, irrespective of whether the message is quarantined.
Messages with multiple recipients
Sometimes when a message is sent to multiple recipients, one group can receive a different version of the messages due to compliance or routing policies.
- Inbound messages—A separate journal copy with the relevant message version is sent corresponding to each recipient. To determine whether multiple recipients received the same message, the archiving solution should use deduplication logic.
- Outbound messages—The copy sent by the sender is journaled.
- Internal messages— Internal recipients will remain on the message. Although some internal recipients may not actually get the message due to content compliance or other policies, delivery to some or all recipients is captured.
Messages with unrecognized recipients
Journals aren’t sent for messages received for unrecognized recipients. To journal for a particular user, the user must be registered.
Retry mechanism for SMTP failure codes
If a message isn’t successfully delivered to the journal address and the Simple Mail Transfer Protocol (SMTP) host returns a temporary error (4xx), Gmail tries to resend the messages for 8 days. If the SMTP host returns a permanent error (5xx), Gmail does not try to resend the message.
We recommend configuring the third-party archive to reject messages that aren’t Sender Policy Framework (SPF) and DomainKeys Identified Mail (DKIM) signed. Google uses DKIM signing in 2 ways:
- Google key on the customer’s behalf (if customer has not setup)
- Customer key
The journaling system is responsible for securing its connection to Google.