As aGoogle Workspaceadministrator, you manage email message storagefor people in your organization.
Important: This article and the related setting apply to Gmail and Classic Hangout messages, but not to Google Chat messages. Classic Hangouts is deprecated. To manage auto-deletion for Chat, visit Automatically delete Chat messages for your organization.
Set the number of days messages stay in a user's inbox, andcreate settings that:
- Move messages to trash or delete them permanently when their storage periods expire.
- Store messages with specific labels.
- Delete messages automatically, or let your users manage message deletion.
If you need auto-deletion for all accounts, for example for legal or compliance purposes, use Google Vault instead.
How storage settings are applied
The Email and chat auto-deletion setting controls storage. The settingappliesto email messages in the user's inbox and to archived messages. This settingalso applies to messages added using the Gmail API.
To exclude migrated messages from being automatically deleted, add a label that excludes them from deletion. Messages with multiple labels are excluded from deletion when at least one label excludes them from being automatically deleted.
When at least one message in a conversation is stored based on storage settings, all messages in the conversation are stored. This happenswhen Conversation view is on or off.
Storage settings don'tapply to messages in the Trash folder. Messages in the Trash are permanently deleted after 30 days.
Storage settings are applied to messages on a regular, periodicschedule. When a storage period isover, messages might not be removed until a later time.
How to use labels to store messages
To create labels for storing specific messages, use the optionDo not automatically delete messages with the following labels. Communicate theselabels to peoplein your organizationso they can create the same labels for messages they want to keep. Learn more about how users create labels.
Note: Labels don't support wildcard characters,and labels don'tinherit settings from parent labels. Enter each label individually,using complete label names.
Set up message storage:
-
Sign in to your GoogleAdminconsole.
Sign in using your administrator account (does not end in @gmail.com).
-
In the Admin console, go to MenuAppsGoogle WorkspaceGmailCompliance.
- On the left, select your top-level organization, typically your domain.
- Scroll to the Email and chat auto-deletion setting and choose anoption:
- Do not delete email and chat messages automatically. Then click Save.
- Automatically delete email and chat messages older than the specified number of days.
- Enter the number of days you want to store messages. For example, enter 45 to delete messages older than 45 days. The minimumis 30.
- Choose an option to manage automatically deletedmessages:
- Move messages to the Trash folder.Messages stay in the trash for 30 more days before they're deleted. Thisextra time lets you retrieve any messagesdeleted by mistake.
- Delete messages permanently: Messages bypass the trash, and are deleted permanently after thespecified number of days. You can't retrieve permanently deleted messages.
-
To store messages with specific labels, enter a comma-separated list of labelsunder Do not automatically delete messages with the following labels.
-
At the bottom of thepage, click Save.
Changes can take up to 24 hours but typically happen more quickly.Learn more
Was this helpful?
How can we improve it?
Need more help?
Try these next steps:
Start your free 14-day trial today
Professional email, online storage, shared calendars, video meetings and more. Start your free Google Workspace trial today.