How to license Gmail business email to AI companies
By Plety. Updated
To license Gmail business email to AI companies, a company exports the Google Workspace mailboxes it controls, removes correspondents' details, client material, attachments it cannot license and secrets inside its own systems, and signs a written licence. Google's terms say the customer retains all intellectual property rights in Customer Data, and that Google will not train its generative AI on that data without permission.
Can a company license its Gmail business email to AI companies?
Yes, for mail in its own Google Workspace accounts, because Google's terms leave the rights with the customer. Section 5.1 of the Google Cloud Terms of Service, last modified on 12 October 2026, which now take in the Google Workspace terms, says that as between the parties the customer retains all Intellectual Property Rights in Customer Data. Section 5.2 says Google will only process Customer Data in accordance with the Cloud Data Processing Addendum and for no other purpose.
Those clauses settle the position between the company and Google only. Each message also has a sender and recipients, attachments written by other people and, often, information given in confidence; who owns what in a mailbox is covered at https://plety.net/about/compliance/who-owns-work-emails-uk. Mail in personal Gmail accounts that staff used for work sits outside the company's Workspace account and its admin tools. Whether email can be sold at all, whatever the provider, is answered at https://plety.net/about/questions/can-a-company-sell-its-emails-to-ai-companies.
Does Google train AI on Gmail business email?
Not its generative models, without the customer's permission. Section 12.11 of the Google Workspace Service Specific Terms, last modified on 16 July 2026, says Google will not use Customer Data to train or fine-tune any of its generative artificial intelligence models supporting the Google Workspace Generative AI Services without the customer's prior permission or instruction.
Section 12.12 adds that Generated Output, the content produced through those services under the customer's Workspace account, is Customer Data, and that Google does not assert ownership of new intellectual property in it. Drafts written with Gemini in Gmail are therefore the company's to license too. Where the company knows which messages were drafted that way, it tells the buyer, since text written by AI is a different thing to train on from text written by staff.
What does a Gmail export from Google Vault contain?
A set of mailbox files with metadata, counts and checksums, as of November 2026. Google's Vault help page Vault export contents, last updated on 10 November 2026, says Gmail is exported as PST or mbox files named after each custodian account, split into numbered ZIP files where an account's messages exceed 1 GB of PST or 10 GB of mbox. Each export also carries metadata in CSV and XML, a count of messages per account, an error report that is always included, and MD5 hash values for every file.
Two details help with licensing. Gmail classification labels appear only in the XML metadata, so a company that labelled mail as confidential can use them to find what to leave out. An optional Drive links file lists every Drive hyperlink found in the exported messages, with the message ID and document ID, whether or not the person exporting has permission to export those files.
Which editions include Vault, how long exports stay available and how the Data Export tool works are set out at https://plety.net/about/guides/how-to-export-google-workspace-data-when-closing-a-company. Section 8.7 of the Google Cloud terms says that when the agreement or an order form ends, all rights and access to the services end, including access to Customer Data, so the export comes first.
| File | What it holds | Use in a licence |
|---|---|---|
| Numbered ZIP files | PST or mbox files with message contents, named after each custodian account | The mail itself, de-identified before anything leaves |
| Metadata CSV and XML | Message metadata as held on Google's servers; classification labels in the XML only | Filtering by account, date and label |
| Result counts CSV | Accounts included and the messages exported or failed for each | Showing a buyer what the archive covers |
| Drive links CSV, optional | Drive hyperlinks found in messages, with message and document IDs | Finding linked files, which are checked separately |
| Errors XML | Messages that could not be retrieved; always included | Checking the export is complete |
| Checksums | MD5 hash values for all files in the export | Showing the files are unchanged since export |
Why would AI companies want Gmail business email?
Because real company email is almost never public, and the main public collection came out of a regulator's investigation. Carnegie Mellon University's page for the Enron Email Dataset says it holds about 0.5 million messages from about 150 users, mostly senior Enron managers, first made public by the Federal Energy Regulatory Commission during its investigation. The page says that, to its author's knowledge, it is the only substantial collection of real email that is public, and that other datasets are not public because of privacy concerns.
The page also records that some messages were deleted "as part of a redaction effort due to requests from affected employees", a step a licence now takes before release rather than after it. A Workspace mailbox holds complete threads with dates, recipients and labels, written for real work. General points on email archives, which apply to any provider, are at https://plety.net/about/records/email.
What must be removed from Gmail before licensing?
Correspondents' details, client material, sensitive attachments and secrets. Every message names a sender and recipients, and signatures add phone numbers, addresses and job titles; these are removed or replaced inside the company's own systems. People who wrote to the company, and people mentioned in its mail, are told about the new use before anything is extracted, under Articles 13 and 14 of the UK GDPR.
Mailboxes are where sensitive material collects: CVs, payslips, sick notes, advice from lawyers and documents clients sent in confidence, all of which stay out, as does special category data, explained at https://plety.net/about/compliance/special-category-data-in-business-records. Mail also carries secrets, such as password reset links, one-time codes, API keys and shared logins, which are found, removed and, where still live, revoked. Linked Drive files are checked as files in their own right, not as part of the email. Plety never holds, views or passes on records, samples, logins or money.
Questions
- Can a company license only some mailboxes?
- Yes. Vault exports the results of a search, and the export files are named after each custodian account, so a licence can list exactly which accounts and dates it covers.
- Can client-side encrypted Gmail be read in an export?
- Not without extra steps. Google's Vault help says client-side encrypted messages in mbox files need its decrypter utility, which is in beta, and that in PST format each user's p7m file is imported into Microsoft Outlook.
- Does Google own text that Gemini writes in Gmail?
- No. Section 12.12 of the Google Workspace Service Specific Terms says Generated Output is Customer Data and that Google does not assert any ownership rights in new intellectual property created in it.
Want to know what your records could fetch?
Email Herman or book a 30-minute call. We tell you which buyers fit before anything else happens.
Sources
- Google Cloud Terms of Service, including Google Workspace, sections 5.1, 5.2 and 8.7 (last modified 12 October 2026)
- Google Workspace Service Specific Terms, sections 12.11 and 12.12 (last modified 16 July 2026)
- Google Vault Help, Vault export contents (last updated 10 November 2026)
- Carnegie Mellon University, Enron Email Dataset
- UK GDPR, Article 13 (information when data is collected from the person)
- UK GDPR, Article 14 (information when data is not collected from the person)
This page is general information, not legal advice. Take advice on your own company's records and contracts.