Topic: gemini workspace export

Gemini Workspace Export — Google Vault, Admin Console, and Enterprise Data Portability (2026)

If you use Gemini through a Google Workspace org account, the personal Takeout export path either doesn't apply or may be disabled by your administrator. Workspace Gemini export is an admin-level operation that runs through Google Vault — Google's e-discovery tool — not through the user-facing Takeout interface. The part that surprises every admin who gets there: Google Vault exports Gemini conversations in MBOX format, the RFC 2822 email-envelope format designed for archiving Gmail, not for AI conversation data. Not JSON. Not HTML. MBOX — which requires parsing before the content is usable. This page covers the full Workspace-specific export path, what each tier gives you, what the admin controls determine before any export is possible, and a Python script for parsing the MBOX output.

TL;DR

For Workspace users: check whether Gemini Apps History is enabled in your org (admin: Google Workspace Admin → Apps → Gemini Apps → Settings). If History is off, there is nothing to export. If History is on: individual users may have access to Takeout if the admin hasn't disabled it; admins can export via Google Vault (Business Standard or higher). Vault exports produce MBOX files — use Python's mailbox module to parse them. For comparison: personal Gemini → Takeout → HTML. Workspace Gemini → Vault → MBOX.

Personal vs Workspace: which export path applies to you

The account type determines the entire export path:

Account type Export path Who runs it Format
Personal Google account (@gmail.com) Google Takeout → Gemini Apps Activity User (self-service) HTML files in ZIP
Workspace Individual Google Takeout (same as personal) User (self-service) HTML files in ZIP
Workspace Business Starter Takeout (if not disabled by admin) User (self-service, if enabled) HTML files in ZIP
Workspace Business Standard / Plus Google Vault (admin) + Takeout (if enabled) Admin via Vault; user via Takeout if enabled MBOX (Vault) / HTML (Takeout)
Workspace Enterprise Standard / Plus Google Vault (admin) + DSAR path Admin via Vault; Takeout often disabled MBOX (Vault)

The clearest signal for which path applies: if you sign in to takeout.google.com and see "Gemini Apps Activity" as a selectable service, Takeout is enabled for your account and the personal Gemini export guide applies. If Takeout is missing that service, or if takeout.google.com is blocked entirely ("Takeout is not available for your organization"), you are in a Workspace org that has restricted Takeout and the Vault path below is the relevant one.

The Workspace admin controls — before any export is possible

Two admin-level controls determine whether Gemini conversation data exists to export at all:

Control 1: Gemini Apps Activity (history retention)

Admin Console path: Apps → Google Workspace → Gemini Apps → Settings → Gemini Apps Activity

This toggle controls whether Gemini conversation history is saved. When disabled at the org level:

When enabled (the default for most orgs that haven't explicitly reviewed Gemini settings), conversations are retained subject to the data retention policy below.

The toggle can be set per Organizational Unit (OU), which means engineering teams can have History on while other departments have it off. Check the OU setting for the specific user you're trying to export before running a Vault search — if the user is in an OU with History off, Vault will return zero results.

Control 2: Vault data retention policy for Gemini

Admin Console path: Google Vault → Retention → Retention rules → Gemini for Google Workspace

Even when Gemini Apps Activity is enabled, data is only retained for as long as the Vault retention rule specifies. Default behavior (no explicit Vault retention rule): data is kept indefinitely or until the user deletes it. With a retention rule: data is purged automatically after the retention period expires. If your org has a 90-day retention rule for Gemini and you're trying to export a conversation from 120 days ago, the data is gone — Vault will return nothing for that time range.

Exporting via Google Vault — the step-by-step path

Google Vault is the admin-only tool for e-discovery and compliance exports across Workspace services. The Gemini for Workspace data type was added in 2024. This path requires Workspace Business Standard or higher.

Step 1: Create a Vault matter

Navigate to vault.google.com and create a new Matter. The matter type is a container for the search and export — it's designed for legal holds and e-discovery, but it also works for straightforward data exports. Name the matter something descriptive ("Gemini export — [user name] — [date]").

Step 2: Run a search scoped to Gemini

Inside the matter, select Search. Set the following:

Run the search and verify the result count. A count of zero with no error message typically means either History was disabled, the retention period expired, or the user account scope is wrong.

Step 3: Create an export

From the search results, click Export. Vault will process the export job in the background — completion time ranges from a few minutes for small accounts to several hours for large ones. You'll receive an email when the export is ready to download.

Step 4: Download and parse the MBOX

The export archive contains an MBOX file for each user. The MBOX format is an email archive format — each message in the MBOX corresponds to one Gemini conversation, with the conversation content in the message body. The content is typically formatted as plain text with alternating user/model turn markers.

The MBOX format — why it exists and how to parse it

Google Vault exports Gemini conversations in MBOX format because Vault was built as an email-archiving and e-discovery tool. When Google added Gemini to Vault's supported data types, the engineering choice was to use the existing Vault export pipeline, which outputs MBOX. This is the same format Vault uses for Gmail exports and Google Chat exports — a design decision that optimizes for infrastructure reuse, not for AI conversation portability.

The result: Vault Gemini exports are paradoxically harder to parse programmatically than personal Gemini Takeout exports, which produce HTML files that at least render directly in a browser. The MBOX format requires explicit parsing to access the conversation content.

Python script to parse Vault Gemini MBOX

import mailbox
import sys

def parse_gemini_mbox(mbox_path):
    mbox = mailbox.mbox(mbox_path)
    conversations = []
    for msg in mbox:
        subject = msg.get("Subject", "")
        date = msg.get("Date", "")
        body = ""
        if msg.is_multipart():
            for part in msg.walk():
                if part.get_content_type() == "text/plain":
                    body = part.get_payload(decode=True).decode("utf-8", errors="replace")
                    break
        else:
            body = msg.get_payload(decode=True).decode("utf-8", errors="replace")
        conversations.append({"subject": subject, "date": date, "body": body})
    return conversations

if __name__ == "__main__":
    convs = parse_gemini_mbox(sys.argv[1])
    for c in convs:
        print(f"--- {c['date']} | {c['subject']} ---")
        print(c['body'][:500])
        print()

The script uses Python's standard library mailbox module (no additional dependencies). Each MBOX message is one Gemini conversation; the body contains the full conversation text. The Subject header is typically the auto-generated conversation title; the Date header is the conversation creation timestamp. For downstream processing by decision-extraction tools, the body's conversation text is the relevant content.

What Vault captures — and the four gaps

When History is enabled and the retention period hasn't expired, Vault captures:

Four things Vault does not capture:

  1. Gem (custom Gemini agent) configurations — if a user interacted with a custom Gem, the conversation content is captured but the Gem's system prompt, instructions, and name are not included in the export. There is no Vault export path for Gem configurations; those are in the user's Gemini interface and have no separate export mechanism.
  2. "Help me write" inline suggestions from Docs/Gmail — Gemini's in-product suggestions within Google Docs ("Help me write") and Gmail ("Help me write" smart replies) are not captured as conversations in Vault. They are treated as drafting assistance, not conversation history, and are not retained under the Gemini Apps Activity history policy.
  3. Image generation outputs — Gemini image generation sessions are partially captured: the text prompts and Gemini's responses are in the conversation body, but generated images are stored as links to Google infrastructure, not as embedded files. If the image hosting expires, the link in the MBOX export becomes a dead reference.
  4. Incognito mode sessions — Gemini sessions in Incognito mode are not saved and cannot be recovered, exactly as with personal accounts. Vault only captures what was stored; Incognito sessions store nothing.

Tier differences: what your subscription determines

The Workspace subscription tier controls both the export path and what is available at all:

Feature Business Starter Business Standard / Plus Enterprise
Google Vault access No Yes Yes
Gemini in Vault (as data type) No Yes (2024+) Yes
Takeout for users Admin-configurable (on by default) Admin-configurable Often disabled by policy
Vault retention rules No Yes Yes
Legal hold on Gemini data No Yes Yes
Data region controls No Partial Full (EU/US region pinning)

For Business Starter orgs: the only export path is Takeout (if not disabled by the admin), which produces the same HTML format as the personal Gemini export. For Business Standard and above: both Vault (admin-run MBOX export) and Takeout (user-run HTML export, if enabled) are available.

When Takeout is disabled in your org

Enterprise and some Business Workspace admins disable Google Takeout domain-wide for data governance reasons — preventing employees from bulk-exporting org data to personal storage. When Takeout is disabled:

For users in a Workspace org who need their own Gemini conversation history: the most reliable approach is to ask your IT/admin team to run a targeted Vault export scoped to your account and a specific date range. This is a reasonable ask for legal, compliance, or onboarding-handoff purposes — it doesn't require a full e-discovery investigation.

Comparing Workspace Gemini export to other enterprise AI platforms

Platform Enterprise export path Format Who runs it
Gemini for Workspace Google Vault → Gemini matter type MBOX Admin only
ChatGPT Team / Enterprise Admin Console → Compliance export + individual Settings export JSON (conversations.json shape) Admin + individual user
Claude Team Admin DSAR → org-scoped ZIP JSON (per-conversation) Admin (DSAR) + individual user (self-service)
Microsoft Copilot (M365) Microsoft Purview Compliance portal → Content Search or eDiscovery PST / MBOX Admin only

Gemini and Microsoft Copilot both route enterprise export through their existing e-discovery infrastructure (Vault and Purview respectively), producing email-archive formats (MBOX/PST) rather than purpose-built AI export formats. ChatGPT and Claude use purpose-built export pipelines that produce structured JSON — more useful for downstream processing but requiring separate infrastructure investment. For organizations that need AI conversation content in a machine-readable format, the Vault MBOX output requires an extra parsing step that ChatGPT and Claude exports don't.

How WhyChose fits in

WhyChose's primary input paths are ChatGPT JSON exports and Claude ZIP archives — the platforms with purpose-built machine-readable export formats. For Gemini Workspace exports via Vault, the MBOX parsing script above produces conversation body text that can be pasted as plain text input to the open-source extractor. The extractor identifies decision-shaped content — threads where alternatives were named, trade-offs were discussed, and a conclusion was reached — regardless of the original export format.

For engineering and product teams that use Gemini for Workspace as part of their AI-assisted decision workflow alongside ChatGPT or Claude, the complete decision record spans multiple platforms: Gemini for research and context (MBOX → parse → paste), ChatGPT or Claude for synthesis and drafting (JSON/ZIP → extractor). WhyChose handles the exportable layer automatically; the Gemini Workspace MBOX requires the manual parse step described here before the content is in a form the extractor can process.

Get early access

Related questions

Can I export Gemini conversations from a Google Workspace account?

It depends on your tier and admin configuration. In a personal Google account, Gemini exports via Google Takeout (HTML files). In a Workspace org, Takeout may be disabled by the admin — in which case the only paths are Google Vault (admin-run, available from Business Standard upward) or a DSAR through the privacy portal. If Gemini Apps Activity (history retention) is disabled at the admin level, there is nothing to export regardless of which path you use — the conversations were never saved.

What format does Google Vault use to export Gemini conversations?

MBOX — an RFC 2822 email-archive format originally designed for Gmail exports, not AI conversations. Each Gemini conversation is stored as an "email message" in the MBOX file with the conversation content in the body. The format requires explicit parsing (Python's mailbox module works; dedicated MBOX email clients also work). This makes Vault exports paradoxically harder to process than personal Takeout HTML exports, which at least render in a browser. ChatGPT and Claude enterprise exports produce JSON, which is more useful for downstream decision-extraction workflows.

What does the Workspace admin Gemini Apps History toggle control?

The Gemini Apps Activity toggle in Google Workspace Admin (Apps → Gemini Apps → Settings → Gemini Apps Activity) controls whether conversation history is saved for users in the org. When it's off at the org or OU level, conversations are not retained and cannot be exported — there is no data to retrieve. Users cannot override an admin-level History OFF setting. Check this setting before running a Vault export — a Vault search returning zero results often means History was disabled for the target user's OU, not that the data was purged.

What is Google Vault and how does it relate to Gemini exports?

Google Vault is Google Workspace's e-discovery and compliance archiving tool, available from Business Standard tier upward. It allows admins to search, hold, and export data across Workspace services — including Gemini for Workspace conversations (added 2024). Vault exports produce MBOX archives; the export job takes minutes to hours depending on volume. It's an admin-only operation — individual users cannot run Vault exports for their own data. For individual users who need their own history, Takeout (if enabled) or a formal DSAR are the alternatives.

Further reading