
Gmail test environment for email agents
Test email agents that triage inboxes, draft replies, and manage message workflows.

Meet the Gmail twin
Validate email triage, drafting, labeling, search, and send workflows. Replay email agent workflows without sending real messages.
Seeded state
Seed users, inboxes, threads, messages, drafts, labels, attachments, history, and watch state.

Use Gmail in staging without using production.
Validate email triage, drafting, labeling, search, and send workflows
Seed inboxes with realistic threads, attachments, labels, and users
Replay email agent workflows without sending real messages
Provision the Gmail twin from the CLI.
Install the Arga CLI, sign in once, then create a 60-minute twin run. The command waits until the environment is ready and prints its connection details.
Terminal
$ uv tool install arga-cli$ arga login$ arga twin-runs create --twins gmail --ttl 60 --waitAdd --scenario-prompt to describe the state the twin should start with.
Build with the Gmail twin
Connect the twin, seed realistic state, and run scenarios against a resettable service.

