...

How to Set up a Custom Retention Rule for Gmail Data in Google Vault

Quick and easy-to-follow guide for Google Workspace administrators

Retain Google Workspace email data for as long as you need to

  • By following the steps below, you can ensure that you will retain your organization’s email data for as long as you need to, regardless of any circumstances.

The priority of custom retention rules

  • Custom retention rules in Google Vault will always override default retention rules because they have higher priority.
  • However, they have lower priority than holds.

How to set up a Google Vault retention rule for Gmail emails step-by-step with images

Step 1

How To Set Up A Custom Retention Rule For Gmail Data In Google Vault - Step 1

To create a custom retention rule for Gmail data, open Vault at https://vault.google.com and click Retention.

Step 2

How To Set Up A Custom Retention Rule For Gmail Data In Google Vault - Step 2

Select the CUSTOM RULES tab on top and then click the Create button.

Step 3

How To Set Up A Custom Retention Rule For Gmail Data In Google Vault - Step 3

Click the drop-down to choose a service and select Gmail.

Step 4

How To Set Up A Custom Retention Rule For Gmail Data In Google Vault - Step 4

Click CONTINUE.

Step 5

How To Set Up A Custom Retention Rule For Gmail Data In Google Vault - Step 5

Now select the Organizational unit. Your retention rule will apply to all users in the OU you select.

Step 6

How To Set Up A Custom Retention Rule For Gmail Data In Google Vault - Step 6

The rule will apply to the OU you select, as well as all of its sub-OUs.

When applied to the top-level OU, all other OUs will also have the rule applied to them so that way you are essentially applying it to all users in your account.

Step 7

How To Set Up A Custom Retention Rule For Gmail Data In Google Vault - Step 7

Having selected an OU, click CONTINUE.

Step 8

How To Set Up A Custom Retention Rule For Gmail Data In Google Vault - Step 8

Next, you get to specify the date range and your conditions for the retention in the Terms field.

All emails sent or received within the time frame you select will have the retention rule applied to them.

You can use the following search operators in the Terms field to narrow down the scope of your rule https://support.google.com/vault/answer/2474474. 

(Our article on this is coming soon!)

If you leave it blank, the rule will be applied to all email messages – both sent and received.

For example, if you only want to apply the rule to emails sent to a specific user, you can type to:[email protected] in the Terms field.

Click CONTINUE.

Step 9

How To Set Up A Custom Retention Rule For Gmail Data In Google Vault - Step 9

Choose how long to retain Gmail emails

On the Duration and action screen, choose how long to keep data matched by the conditions you specified in your retention rule.

You can keep it Indefinitely, which means that you will store data in Vault as long as you have Vault and the users whose emails are affected by the rule have a Vault license assigned. Note that if you delete a user, this also deletes their data from Vault. Make sure to search and export user data before deleting users, as shown here.

You can also select the Retention period option, which allows you to keep data for a specific time frame. Click CREATE.

Step 10

If you selected the Retention period option, you must now select a number of Days, and then you must also choose the Action after the expiration of the number of days you specify.

The retention period starts when emails are sent or received.

Purge only permanently deleted messages means that you will lose all messages that users have removed from their Trash folder in Gmail after the retention period passes.

Purge messages from Gmail mailboxes and permanently deleted messages. This rule doesn’t affect drafts. – this means that after the retention period passes, the rule will purge all emails (excluding drafts) from users’ Gmail and Vault.

Purge messages from Gmail mailboxes and permanently deleted messages. This rule purges drafts. – this means that after the retention period passes, the rule will purge all emails and drafts from users’ Gmail and Vault.

Click CREATE.

Step 11

Check the boxes to confirm that you are aware that:

-Custom rules and holds still apply and have higher priority than the default retention rule.

-After expiration, the rule purges emails that you may not be able to recover. 

Click ACCEPT.

Step 12

How To Set Up A Custom Retention Rule For Gmail Data In Google Vault - Step 12

The custom retention rule now appears under the CUSTOM RULES tab when you select Retention in Google Vault.

Step 13

How To Set Up A Custom Retention Rule For Gmail Data In Google Vault - Step 13

To remove a custom retention rule, hover over it and click Delete, which appears on the right.

Step 14

How To Set Up A Custom Retention Rule For Gmail Data In Google Vault - Step 14

Important: any data retained by this rule will get deleted if not included in another retention rule or hold.

If you’re ok with making this change, click DELETE.

That's all! You reached the end of the article. Continue to:

If you find this useful, share and help others!

Email
Reddit
Facebook
Telegram
Twitter
LinkedIn
Pinterest
Protect And Secure Google Workspace
Backup and protect your data
Data protection and security tools are crucial, especially if you store any sensitive data in your accounts.
Email Marketing Tools
Better Gmail and email marketing
If you work with Gmail or do email marketing, you will appreciate what these services can do for you.
Collab And Optimization Tools
Process optimization and collaboration
You can use these services to make tedious processes a whole lot easier, improve teamwork, save time, and get better results.
Website Tools and Resources
Resources for website creators
Awesome tools and services for easy and effective site building, content creation, SEO, email marketing, and more.

Submit Feedback

Think we could do something better or just want to tell us how happy you are with the site? We would love to hear from you – your feedback is more valuable than you can imagine.

Fill out this form, and we will get back to you.

Report An Issue With Workspace123

Are you running into an issue with the site? Maybe you found a broken link, or something else is wrong?

Fill out this form to let us know, and we will address it as soon as possible.

Please make sure to be very specific and add as many details as possible.

Missing Content

Our goal is to run the number one site in the world for you to get help with and learn how to use Google Workspace. This can’t be so if there is any missing information.

If you believe we need to add something, fill out this form, and we will do our best to add any missing content as soon as possible.

This site uses cookies to ensure you get the best experience. Click here to see our Cookies Policy.

Be the first to know

You can stay on top of news and updates in Google Workspace and Workspace123 and get special offers by subscribing to our newsletter.

Subscribe by email for news and updates
Seraphinite AcceleratorOptimized by Seraphinite Accelerator
Turns on site high speed to be attractive for people and search engines.