src ▸ task opened 0

Automate Gmail

Turn the repetitive Gmail work you do by hand (search a query, read a message) into a workflow Writ runs for you, on your own account, on a schedule or on demand.

Writ runs on your own accounts, with your own credentials and data, on sites you are authorized to use.
Gmail workflow
  1. 1
    search a query
  2. 2
    read a message
  3. 3
    apply a label
  4. 4
    export results

Recorded once, then run for you

gap ▸ done by hand 01
01
why

Stop doing Gmail by hand

The Gmail tasks you repeat (search a query, read a message, apply a label) are exactly the kind of work a computer should do. But Gmail only exposes part of it through an API, and the flow runs behind a login and dynamic pages. Gmail has an API, but some workspace and label workflows are quicker to drive in the browser, and OAuth scopes can be more than a team wants.

Writ closes that gap. Record the Gmail task once (or describe it to an AI session) and Writ runs it for you in a real browser, on your own account. Writ runs on your own accounts, with your own credentials and data, on sites you are authorized to use.

ops ▸ actions mapped 02
02
automate

Gmail tasks Writ can run for you

Each of these is a real Gmail action, captured into a workflow and run on your own account.

{ }search a query
{ }read a message
{ }apply a label
{ }export results

Workflows extract structured fields such as message subject, sender, label, attachment along the way: typed data you can route anywhere.

build ▸ three routes 03
03
build

Three ways to build your Gmail automation

Pick whichever fits the task. All three produce the same workflow Writ can run for you.

Record itDo the Gmail task once in a real browser (search a query, then read a message) and the recorder captures every step into a reusable workflow.
Describe it to AITell an AI session your goal on Gmail in plain language; it drives the live page and builds the workflow for you, no recording needed.
Discover itLet API discovery watch Gmail's own network calls as you browse, then turn the underlying requests into a fast, headless workflow.

Built on the same engine as the recorder and workflows, with 30+ step types.

auth ▸ logged-in web 04
04
the hard web

Login, 2FA, and dynamic pages on Gmail

The reason Gmail is tedious to automate is the same reason most tools can't. Writ handles it.

Writ signs into your own Google account through a Persona, including 2FA, and operates inside that authenticated session.

PersonasTOTP & mailbox OTP AI navigationReal Chromium rendering
when ▸ it runs 05
05
when it runs

Run the Gmail automation on your terms

On a schedule, on demand, or the instant something changes. You choose the trigger.

On a scheduleRun the Gmail task every hour, every morning, or any cadence. No one has to remember to do it.
On demandTrigger a single run from the dashboard, a webhook, your code, or an AI agent, whenever you need it.
On a changeWatch Gmail for new message matching a query or label count change and fire the automation the instant it happens.
  1. 1
    Build the Gmail workflow once

    Record the task, describe it to AI, or discover it from the network. Writ captures each step, including login and 2FA, into a workflow you can edit.

  2. 2
    Run it on your terms

    Run it on demand, on a schedule, or fire it from a Monitor when Gmail changes. It runs on your own Gmail account, in a real browser.

  3. 3
    Call it from anything

    The same workflow is a REST endpoint at /v1/gmail/run and an MCP tool, so your code, a no-code tool, or an AI agent can trigger the Gmail automation too.

watch ▸ changes tracked 06
06
watch

Trigger the Gmail automation on a change

Monitor Gmail for new message matching a query, label count change, attachment received and run your workflow the moment it happens.

Monitors check as fast as every 10s (10s on Enterprise). A detected change becomes a trigger that runs your Gmail automation in seconds. Monitor Gmail ▸

venue ▸ local or cloud 07
07
run it

Free on your own machine, or on cloud

Local / BYO agent

No compute charge. The agent runs on your hardware, so it can reach Gmail even from an intranet or VPN-only network, and your AI keys never leave your machine.

Writ cloud

Metered by running time at $0.12 per browser-hour, drawn from your plan’s included usage. No infrastructure to manage.

call ▸ endpoint too 08
08
callable

The same Gmail automation is an API and an MCP tool

Automating Gmail for yourself and calling it from software are the same workflow. Once you have it, publish it as a REST endpoint at/v1/gmail/run and a matching MCP tool, so your code or an AI agent can trigger the Gmail task too.

faq ▸ questions answered 10
10
faq

Automating Gmail: questions

How do I automate Gmail?
Record the Gmail task once in the recorder (search a query, read a message, apply a label) or describe your goal to an AI session. Writ turns it into a workflow it can run for you on a schedule or on demand, on your own Gmail account. It usually takes minutes, not a backend project.
Is it allowed to automate Gmail this way?
Use Writ on your own Gmail account. Authorized automation of your own mailbox. Writ runs on your own accounts, with your own credentials and data, on sites you are authorized to use.
Does Gmail automation work behind login and 2FA?
Writ signs into your own Google account through a Persona, including 2FA, and operates inside that authenticated session. Writ handles TOTP and mailbox-OTP two-factor through Personas, so the automation runs inside your own authenticated Gmail session.
Can I run the Gmail automation without writing code?
Yes. Recording and AI sessions need no code at all. If you do want to trigger it from software, the same workflow is a REST endpoint and an MCP tool, but that is optional.
Where does it run, and what does it cost?
Run it on your own machine with a local or BYO agent for no compute charge, useful when Gmail is only reachable from your network or VPN. Or run it on metered cloud at $0.12 per browser-hour, drawn from your plan’s included usage. Start free.
rec ▸ ready

Automate Gmail in minutes

Record it once, then let Writ run it for you: on a schedule, on demand, or on a change. Get started free.