Before you begin: scope and permissions
- Use an eligible super administrator account with 2-Step Verification; check account-age and organization-size requirements in current documentation.
- Distinguish the organization Data Export tool from individual Google Takeout and obtain approval for the users, services and destination.
- Approve the intended scope and use with the business owner; export access alone does not establish licensing rights.
- Use an approved encrypted working environment with restricted access and a retention deadline.
Separate services before exporting
Workspace is a collection of services, not one uniform dataset. Gmail correspondence, Drive files, native documents and organizational records have different structures and permissions. Exporting everything for business continuity is different from preparing a narrow, authorized corpus. Choose a service, business unit and time window, and record which shared assets are required to interpret it.
Start an organization export
Google’s organization export procedure uses the Data Export tool and a Google Cloud Storage archive. Check super administrator eligibility, 2-Step Verification, an active Workspace subscription for core-service data, and support requirements for large or regulated organizations. In the Admin console, open Data ? Data import & export ? Data export. Choose Set up new export, name the job, select the permitted scope and start it. On completion, inspect its status and use View Archive. The Cloud Storage archive contains ZIP files divided by user and service. Follow the current document for the exact controls available to your edition; do not assume a scoped export has the same options as a full export.
Individual Takeout is a separate user workflow and does not establish organizational coverage. Preserve the job’s selected services, destination and completion report as collection evidence.
Choose API collection only for a defined need
If a service-specific collector is necessary, design it with the Workspace administrator around approved Gmail or Drive access. Do not reuse an ordinary employee token as an organization-wide backup mechanism. This guide does not prescribe universal API scopes or a cross-service endpoint: consult the selected service’s current API documentation and prove coverage against a known sample before using it in production.
Collect metadata and content as distinct inventories. Service outputs have different formats, so inspect archive contents rather than assuming all files are JSON or CSV. Google documents native-document export behavior and included content in its export reference.
Reconstruct mail and document context
For mail, preserve source message identifiers where available, Message-ID, reply-reference headers, timestamp offsets and MIME structure. Use an email parser, not line splitting, to separate multipart bodies and attachments. Do not deduplicate distinct messages solely because their subjects match. Label quoted material so an entire thread is not counted once per reply.
For Drive, build an inventory with source identity, title, MIME type, ownership classification, parent references, export representation and extraction time where supplied. A PDF and a text representation of the same document are two derivatives of one source. Track missing comments and versions rather than assuming a rendered document preserves all collaborative history.
In a synthetic project corpus, an email approving runbook revision 3 should link to the approved revision if that revision was actually obtained. Linking it to today’s version would create false historical context. Mark unresolved references as missing.
Prepare and review the candidate corpus
Normalize to a service-specific schema before combining systems. Detect duplicates across mailboxes and files, but keep provenance for every collected copy. Review filenames, document comments, quoted mail, attachment text and sharing URLs for personal or confidential material. External ownership and broad internal sharing do not establish licensing rights.
Create evaluation splits by conversation or document family to reduce leakage from repeated versions. Keep OCR and text extraction quality separate from content quality; a poor parser can make a useful document look empty.
Troubleshoot and describe the dataset honestly
Why is an expected document missing? Check selected services, ownership, access, export errors and scope before expanding permissions.
Does the archive include every revision? Inspect actual output. Do not promise version history based on the presence of a current document.
Possible applications include enterprise retrieval evaluation or correspondence summarization, depending on authorized content and task design. An assessment should report unique source counts, coverage, missing references and rights status rather than raw archive size.
Release checklist
- Inventory Gmail and Drive coverage separately, including shared-drive and externally owned content gaps.
- Preserve message headers and document identity; do not count exported representations as separate originals.
- Reconcile source counts and date coverage; record excluded or unavailable records.
- Validate identifiers, relationships, timestamps and field types after transformation.
- Document provenance, privacy review, third-party restrictions and the authorized release approver.
- Scan the release files for personal information, secrets and confidential material; test a reviewed sample before transfer.
Have a proprietary dataset?
Find out whether it may be suitable for AI licensing. Start with a high-level description of the source, date range, volume, rights status, and preparation work still needed.
Assess dataset readinessUse the existing buyer application when ready. Share only authorized information. Do not submit raw confidential records, credentials, or personal data in the initial assessment.
Sources & verification
Official documentation reviewed 2026-10-15. Procedures and access rules can change. These are documentation-based instructions, not a live export from your account. Verify your product version, permissions and retention settings before running a job.