To export all Google Workspace data, a super admin runs the Data Export tool in the Admin console (Data, Data import & export, Data export) while the subscription is active. It covers Gmail, Drive, shared drives and Chat for every user. Exports take about 72 hours and are deleted 60 days after they start. For email with search metadata, use Vault exports in PST or mbox.
- Export before you cancel: Gmail, Drive and Chat are left out of the Data Export tool once the subscription is cancelled or suspended.
- The organization export lands in a Cloud Storage bucket and is deleted 60 days from the start, so download it promptly.
- Vault exports add the metadata that keeps each email linked to its sender, recipients and date, but their files last only 15 days.
- Deleting a user deletes data that was not transferred. Archive former staff or export them first.
Three ways to export Google Workspace data
Google gives admins three export tools, and each answers a different question. The Data Export tool copies everything for the organization. Vault exports a searched set of messages and files with the metadata a lawyer or reviewer needs. Takeout lets each person download their own account. For a company closing down or switching providers, the Data Export tool comes first and Vault fills the gaps. The Data Export tool works on every edition; Vault does not, so check your edition before planning on it.
| Tool | Who runs it | What it covers | Formats and limits |
|---|---|---|---|
| Data Export tool | Super admin, account at least 30 days old, 2-Step Verification on | All users and shared drives: Gmail, Drive, Chat, Calendar, Contacts, Groups and more | Zip files per user and service in Cloud Storage; deleted 60 days from the start |
| Google Vault export | Admin with Vault privileges, on an edition that includes Vault (such as Business Plus or Enterprise) or with Vault add-on licenses | Messages and files that match a search, including held data | PST or mbox plus metadata CSV and XML; files kept 15 days |
| Google Takeout | Each user, if the admin allows it | That user's own data | Archive by email link, Drive, Dropbox or OneDrive |
| Transfer on user deletion | Any admin; super admins during deletion | Gmail and the Drive files a user owns | Moves data to another user; anything not transferred is deleted |
How to run the Google Workspace Data Export tool
Check the requirements first. You need to Use a Google Workspace or Cloud Identity super administrator account that is at least 30 days old (unless the organization itself is newer), with 2-Step Verification on, and Google Cloud turned on for the admin account so you can open the archive. Organizations with more than 1000 users should contact Google Workspace support before starting.
- In the Admin console, go to Menu > Data > Data import & export > Data export.
- Click Set up new export and give it a name.
- Under Scope, choose Export all user data for the entire organization, which includes all users and shared drives, or pick a group, org unit or users.
- Click Start export. All super admins get an email that an export is pending; the archive is available no earlier than 48 hours later.
- Wait for the completion email. An export typically takes 72 hours and can take up to 14 days.
- Open the export, choose Actions > View Archive and download each user's zip files from Cloud Storage. For many files at once, use the gcloud storage command line tool.
- Check the status: Complete means all data was exported; Errors means some data is missing and you can run a remediation.
- To keep the archive in Google Cloud for longer, Google says To retain your data for longer than 60 days, you need to create a custom export and choose your own Cloud Storage bucket.
Source: Google Workspace Admin Help: Export all your organization's data
What the export includes and what it leaves out
Google describes the scope plainly: The Data Export tool exports the same data that's available with Google Takeout for users. It also exports data that's available only to admins, such as deleted data that's retained by Vault and customer-owned data. That includes data in shared drives and shared documents, Chat messages and attachments for rooms created by users in your organization, and Gmail messages in admin quarantine. Suspended, archived and Vault Former Employee accounts are included in a full export.
Three gaps catch admins out. Deleted data is not exported unless Vault retained or held it. Accounts created within 24 hours before the export are skipped. And the core services are excluded once the subscription is cancelled or suspended. Shared drive files owned by a service account show up in the archive under a folder named "Resource", which is easy to miss when you check the download.
How to export all company emails and archive them before closing
Start by checking whether you have Vault at all. Google's rule is that users must have a Google Workspace license that includes Google Vault. Vault is included in Frontline Standard and Frontline Plus, Business Plus, Enterprise Standard and Enterprise Plus, all Education editions, Enterprise Essentials and Enterprise Essentials Plus (domain-verified only) and G Suite Business. For other editions, Google says that where Vault is available as an add-on license, you can buy Vault licenses for some or all users and admins, and it refers compatibility questions to Google Sales. Business Starter and Business Standard are not on the included list.
Without Vault, use the Data Export tool. Google says its full-organization export steps are available in all Google Workspace editions, and each user's Gmail arrives in their zip. You lose Vault's search and its metadata files, so keep the archive as exported and note which user each folder belongs to. If you need Vault's metadata for review, buy Vault licenses or move to an edition that includes Vault for the months the export takes, after confirming with Google Sales which applies to your account.
With Vault, the Data Export tool still gives each user's Gmail as part of their zip. If you need email that keeps its sender, recipients, dates and labels in a form a reviewer can search, use a Vault export. In Vault, open a matter, search Gmail for the accounts and dates you need, click Export, and choose the format for the message content files, PST or mbox. You can also export linked Drive files.
A Vault export comes with The metadata you need to link the exported data to individual users in your organization: a metadata CSV and XML with From, To, CC, BCC, Subject, Labels and send and receive dates for each message, plus a count file and an error report. If a large export hasn't been completed after 24 hours, Vault stops it with partial results, and you continue it under a new name. Export files are available for 15 days after you start the export, so download each one as it finishes.
- Split large email exports by year or by organizational unit; Vault allows no more than 20 exports in progress across the organization.
- Do not use special characters in export names; they can stop the download.
- If multi-party approval is on, a second admin must approve the export within 15 days.
- Keep the metadata CSV with the mbox or PST files. Without it, threads and recipients are much harder to rebuild.
Former employees: archive or export before you delete
Deleting a user is the fastest way to lose company email. Google's rule is that Any data that's not transferred is deleted, and you can restore a deleted user within 20 days of deletion; after that the data is unrecoverable. Google's own advice when deleting several people is to export their data with the Data Export tool instead.
The safer option for years of history is to archive. When an employee leaves your company, you can archive their user account to securely retain their data and keep them from signing in. Archived users' data counts toward pooled storage, and with a Vault license or an Archived User subscription that includes Vault, you can still search and export it.
What happens when you cancel Google Workspace
Google's cancellation page carries the warning in bold: After you cancel your Google Workspace subscription, your users' Google Workspace data will be deleted and can't be restored. Cancelling does not remove user accounts, groups or the organizational structure, which stay unless you delete the organization's Google Account. Third-party app data isn't automatically deleted, so export it from those apps separately.
| Step | What happens to the data | What to do first |
|---|---|---|
| Subscription suspended or cancelled | Gmail, Drive and Chat drop out of the Data Export tool | Run and download the full export before cancelling |
| Cancellation completes | Users' Workspace data is deleted and cannot be restored | Confirm every zip downloaded and opens |
| Annual or fixed-term plan cancelled | Remaining contract balance is charged | Plan the export inside the term you are paying for |
| User deleted | Data not transferred is deleted; restore possible for 20 days | Archive, transfer or export first |
| Export left in Google's bucket | Deleted 60 days from the start of the export | Download and store copies the company controls |
Source: Google Workspace Admin Help: Cancel Google Workspace
Keep email, files and chat linked
Company email is valuable as a connected record: the message, the thread, the attached contract, the Drive file it links to and the meeting it set up. Keep the pieces that tie them together.
- Keep the Rfc822MessageId column from Vault metadata. Google says to Use this value to correlate metadata with the message in an mbox export.
- Turn on Export linked Drive files in Vault to get a CSV of the Drive links found in each email.
- Keep shared drives, including the Resource folder, with the user folders.
- Store each export with a note of its scope, date range and status (Complete or Errors).
- Keep timestamps in UTC as exported; convert only in copies.
Why years of company email and documents matter now
Email, chat and shared documents are among the records buyers ask for, because they show how a team actually works. MIT Technology Review reported a closed startup's founder expecting roughly $15,000 for the workspace data in Google, Notion, Figma, and Slack, alongside about $25,000 for the code.
In Workspace the useful signal is in threads that run from a request to a decision, in Docs and Sheets with their comments and version history, in shared drives organised by client or project, and in Calendar showing who met before each decision. A full, linked export from several years of operation keeps those connections. Read selling Slack and email archives, what company data is worth and what records can be sold to AI companies.
Employee and customer privacy in a Workspace export
The company owns its Workspace account, but employees' mailboxes hold personal messages, health appointments and family arrangements, and customer threads hold customers' details. Keep exports encrypted, limit access to named people, and check what employees were told about monitoring and data use before anyone reads or shares the archive.
Any licensing comes after de-identification. In Workspace, personal data sits in each user's Gmail and My Drive, in Chat direct messages, in Calendar entries and in Contacts; shared drives and group mailboxes tend to hold more of the company's work and less of people's private lives. Leave HR and personal folders out, tokenize names in the rest, and consider consent: a law professor quoted by MIT Technology Review says employers should have express consent before selling workers' data. The de-identification guide explains how to keep threads linked while removing names.
Google Vault keeps data in place; it is not a backup
Google is direct about this: "Vault isn't a data archive" (Google Workspace). Vault's retention rules are applied directly in the supported Google services, and Vault retains nothing until you set those rules up. Once a rule expires, deleted data that is not on hold goes through standard deletion, and purged data cannot be recovered by users or admins. If you delete a user or a required license, Google says that user's data might be irreversibly purged and no longer available to Vault.
So a Workspace backup that survives cancellation is the Data Export tool's zip files, moved to storage the company controls, with Vault exports by year where email has to stay searchable. Microsoft 365 draws the same line between its in-tenant backup and an export; see exporting Microsoft 365 mailboxes and Teams chats.
Source: Google Workspace: Vault overview
Before you cancel Google Workspace: a short checklist
Run the full export while the subscription is active, check it, then cancel. The guide to exporting company records before closing covers Slack, Microsoft 365 and other systems, and how long to keep business records covers retention periods.
Once the archive is safe, check what it is worth from a few questions about the company, with no files shared.
Not sure whether a buyer or an offer is sound? Origin checks who the buyer is, what the license allows and how the price compares with published deals before anything is signed. Get a free estimate and a second opinion.
- Confirm a super admin account older than 30 days with 2-Step Verification.
- Run the Data Export tool for the whole organization and download every zip.
- If your edition includes Vault, run Vault exports for email you need with metadata, by year.
- Archive or export former employees rather than deleting them.
- Export third-party app data, then cancel.
Common questions
How do I export all data from Google Workspace?
A super admin uses the Data Export tool: Admin console, Data, Data import & export, Data export, then Set up new export for the whole organization. It covers every user and shared drive and arrives in Cloud Storage.
How do I export all company emails from Gmail?
Run the Data Export tool for every user, or use a Vault export to get Gmail in PST or mbox with a metadata file of senders, recipients and dates. Vault is better when the email must stay searchable.
How long does a Google Workspace data export take?
Typically 72 hours, and up to 14 days for large organizations. The archive is available no earlier than 48 hours after you start, and it is deleted 60 days from the start.
Can I export Google Workspace data after cancelling?
Not the core data. Gmail, Drive and Chat are excluded from the Data Export tool once the subscription is cancelled or suspended, and users' data is deleted on cancellation. Export first.
What is the difference between Google Takeout and the Data Export tool?
Takeout downloads one person's own account. The Data Export tool is run by a super admin and covers every user, plus shared drives and admin-only data such as Vault-retained deleted data.
How do I archive company emails before closing the business?
Export every mailbox with the Data Export tool, then run Vault exports by year in mbox or PST with the metadata CSV. Download Vault files within 15 days and store copies the company controls.
What happens to a deleted user's Google Workspace email?
It is deleted unless you transferred it first. You can restore the user within 20 days; after that the data is unrecoverable. Archive former employees instead if you need their history.
Do I need Google Vault to export company email?
No. The Data Export tool works on every Google Workspace edition and includes each user's Gmail. Vault adds search and metadata files, and it is included only in some editions, such as Business Plus and Enterprise, or as add-on licenses.
Is our old Google Workspace data worth anything?
It can be. AI developers license de-identified email, chat and document archives from real companies, and reported deals range from thousands of dollars for small startups to $10 million for a large airline.
Can I open a Gmail export in Excel?
Not the messages themselves: a Vault export delivers Gmail as mbox or PST files, which need a mail client or a parser. The same export adds a metadata CSV with From, To, CC, BCC, Subject, Labels and send and receive dates for each message, and that file opens in Excel. Keep it with the mbox files, because it is what links each row back to its message.
Sources and further reading
Origin Data Partners is an independent data partner. We work with buyers, and a buyer may pay us when a deal closes.
- Google Workspace Admin Help: Export all your organization's data
- Google Workspace Admin Help: Cancel Google Workspace
- Google Vault Help: Export data from Vault
- Google Vault Help: Vault export contents
- Google Vault Help: Get started with Vault (license requirements)
- Google Workspace Admin Help: Delete or remove a user from your organization
- Google Workspace Admin Help: Archive former employee accounts
- Google Account Help: How to download your Google data
- MIT Technology Review: AI labs are buying data from dead startups (Oct 13, 2026)
- Google Workspace: Vault overview
