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.
- 1search a query
- 2read a message
- 3apply a label
- 4export results
✓ Recorded once, then run for you
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.
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.
Workflows extract structured fields such as message subject, sender, label, attachment along the way: typed data you can route anywhere.
Three ways to build your Gmail automation
Pick whichever fits the task. All three produce the same workflow Writ can run for you.
Built on the same engine as the recorder and workflows, with 30+ step types.
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.
Run the Gmail automation on your terms
On a schedule, on demand, or the instant something changes. You choose the trigger.
- 1Build 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.
- 2Run 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.
- 3Call 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.
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 ▸
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.
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.
Other ways to work with Gmail
Automating Gmail: questions
How do I automate Gmail?
Is it allowed to automate Gmail this way?
Does Gmail automation work behind login and 2FA?
Can I run the Gmail automation without writing code?
Where does it run, and what does it cost?
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.