Email and messaging
Gmail automation consultant: from inbox to records, with nothing lost
SBD builds Gmail automations that turn inbound mail into records, tickets and tasks, read invoices and documents from attachments, and send follow-ups that are logged against the right contact, for teams of 1 to 1,000 people. Workflow automation builds start at $1,000, with the fixed price set after a $500 Automation Audit that is credited to the build.
- Tool
- gmail.com
- Usually paired with
- Claude, HubSpot, Airtable, QuickBooks
- Timeline
- Most builds live in 2 to 8 weeks
- Owned by
- You, with accounts, credentials and code in your name.
What we build on Gmail
- Turn inbound email into records, tickets and tasks
- Extract invoices and documents from attachments
- Send personalised follow-ups from workflows
- Log sent mail against the right contact
What we sync
Workflows we are asked for
- Gmail invoice intake to accounting
- Gmail enquiries to CRM with qualification
- Gmail follow-up sequences from a system event
- Shared inbox triage and assignment
Tools Gmail usually needs to talk to
-
Gmail and Claude
Anthropic's models, used through the business API for reading, classifying, extracting and drafting.
-
Gmail and HubSpot
The CRM and marketing platform most B2B teams of 10 to 1,000 run on.
-
Gmail and Airtable
A relational database with a spreadsheet face, used as the operations base for teams who have outgrown sheets.
-
Gmail and QuickBooks
Intuit's accounting platform for small and mid-size companies, with an API that needs careful handling.
What a Gmail automation from SBD does
In most small and mid-sized companies, work still starts in an inbox.
An enquiry, an invoice, a purchase order or a complaint arrives by email, and someone copies it into another system. The automation we build reads that mail, decides what it is, puts the useful parts in the right place and leaves a trail.
Typical builds fall into four groups. Intake: enquiries become CRM leads, support mail becomes tickets, and orders become draft orders, with a model classifying and extracting fields and a person checking anything uncertain. Documents: invoices and statements read from attachments and passed to accounting with the original file linked. Follow-up: personalised emails sent from a system event, from the right person's mailbox, and logged. Shared inbox triage: mail labelled, assigned and chased when nobody replies.
com and Slack in the stack. Two concept demos, lead capture for an agency and a multi-agent lead qualification flow, also use Gmail.
When the Gmail API beats a connector, and when it does not
A good fit
Zapier, Make and n8n all have Gmail modules, and for a low-volume "new email with this label" trigger they are fine. Most of them poll on a schedule. We build directly on the Gmail API, with push notifications, when
- Mail must be processed within seconds, or volume makes polling expensive in tasks or operations.
- Several mailboxes or a shared inbox must be watched consistently, with one place to see what was processed.
- Attachments need careful handling: large files, multiple invoices per email, or forwarding chains.
- You need to prove what was read, what was extracted and what a person approved.
Gmail API quotas, push notifications and history
Google's quota page in October 2026 gives the Gmail API 1,200,000 quota units a minute per project and 6,000 a minute per user per project
Methods cost different amounts: sending a message costs 100 units, fetching one costs 20, or 60 in full or raw format, listing costs 5 and reading history costs 2. A mailbox automation that fetches every message in full can reach the per-user ceiling sooner than people expect, so we fetch metadata first and the full message only when it is needed.
Push works through Google Cloud Pub/Sub
You call watch on the mailbox with a topic, and Gmail publishes a notification with the mailbox and a history ID when something changes; your receiver then calls history.list from the last ID it saw. The watch must be renewed at least every seven days, and Google recommends daily. Each watched user is limited to one notification a second and extra notifications are dropped, and Google notes that notifications can occasionally be delayed or dropped. We renew daily, store the last history ID per mailbox, and run a periodic history sweep so nothing depends on a single notification arriving.
OAuth scopes, verification and sending limits
- 01
Google classes gmail.send as a sensitive scope and gmail.readonly, gmail.modify and full mail access as restricted.
Restricted scopes need Google's restricted scope verification, and if the data is stored or transmitted on servers, a security assessment. Google also says apps marked Internal, used only by people in your own Workspace organisation, are not subject to the unverified app screen or the 100-user cap. For client builds we register the app in your Google Cloud project as Internal and request the narrowest scopes the workflow needs.
- 02
Sending limits matter for follow-up workflows.
Google's Workspace help page lists 2,000 messages a day per user, 500 on trial accounts, 10,000 total recipients a day and 3,000 external recipients a day, measured over a rolling 24 hours. Gmail is a mailbox and has no bulk sending features: follow-ups to known contacts belong here; newsletters and cold sequences belong on a dedicated sending platform.
Threads, labels and extraction that do not double-process
Email is messier than it looks.
One thread can hold an enquiry, a forwarded invoice and three replies; one message can carry four PDFs, or an invoice pasted into the body; a supplier can send the same invoice twice. Our intake design handles each case on purpose rather than by accident.
We treat the Gmail message ID as the key. Every processed message gets a label, such as processed or needs review, and the workflow skips anything already labelled, so a replayed notification or a manual re-run does no harm. Labels also give your team a view inside Gmail of what the automation has done, without opening another tool.
Extraction runs once per attachment, and each extracted document is checked against what already exists, such as the same supplier, number and amount, before anything is created. Low-confidence extractions go to a review queue with the original attached. We store the extracted fields and a link back to the message, and we do not keep a copy of the mailbox.
Replies matter too. When an automation sends a follow-up, it sends from the owner's mailbox in the existing thread where there is one, so the customer sees one conversation and the owner sees the reply arrive in the normal place. The sent message ID is written to the CRM record, so anyone can trace what was sent and when without asking for access to someone else's inbox.
How a Gmail engagement with SBD works
- Step 1$500Automation AuditCredited to the build
- Step 2from$1,000Workflow automationFixed after the audit
- Step 3from$3,000Internal toolsFixed after the audit
- Step 4from$50Care planA month, after sixty days of hypercare
Every engagement starts with an Automation Audit at $500, credited in full to your build. We look at which mailboxes receive which kinds of work, how many messages a day, what is extracted by hand today and where it goes next.
Workflow automation builds start at $1,000, internal tools at $3,000 and multi-module systems at $5,000. Work runs in two-week sprints with sixty days of hypercare, and care plans start at $50 a month, which covers the daily watch renewal and alerting. See the pricing page.
What you own when we finish
Everything below is in your name when the build ends.
- The Google Cloud project, the OAuth client, the Pub/Sub topic and the workflow platform are in your organisation.
- You receive a list of watched mailboxes and labels, the scopes granted and why, the extraction rules, and a runbook that says what happens when a watch lapses or a message fails to parse.
- Messages that move money or reach a customer for the first time are held for a person to approve.
Gmail at enterprise scale
Gmail is the mail system for organisations on Google Workspace, from small firms to large companies. Shared inboxes for sales, accounts payable, support and operations are where most email automation happens, and Workspace administrators control which apps may read mail.
Admin-approved access
We register an Internal app in your own Google Cloud project, request only the scopes needed, and walk your Workspace admin through what each scope allows before it is approved.
Mailbox scope
Automations watch named mailboxes and labels only. Where a service account with domain-wide delegation is used, it is limited to the scopes and users agreed in writing.
No missed mail
Watches are renewed daily, the last history ID is stored per mailbox, and a periodic history sweep catches anything a notification missed. A lapsed watch raises an alert.
Data handling
We store extracted fields and a link to the message, and keep no full copies of mailboxes. Retention for processed attachments is agreed with you and documented.
Sending within limits
Follow-up volumes are checked against Workspace per-user sending limits, and bulk or cold sending is routed to a dedicated platform instead of staff mailboxes.
Engagements we take on
Already on Workspace, invoices arriving in a shared inbox
Accounts payable forwards PDFs by hand. We read each invoice from the attachment, match the supplier, draft the bill in accounting and hold it for approval with the original linked.
Already on Workspace, enquiries lost in personal inboxes
We watch the enquiry addresses, create or update the lead in the CRM, assign an owner and chase if nobody replies within the agreed time.
Already on Workspace, a polling Zap hitting its limits
We replace a polling trigger with Gmail push and history sync, so mail is processed in seconds and task counts stop growing with volume.
Read next
Sources
- Google for Developers, Gmail API usage limits (quota units per project and user, method costs), checked 29 October 2026
- Google for Developers, Gmail push notifications (Pub/Sub, watch renewal, notification rate), checked 29 October 2026
- Google for Developers, Choose Gmail API scopes (sensitive and restricted scopes), checked 29 October 2026
- Google Workspace Admin Help, Gmail sending limits in Google Workspace, checked 29 October 2026
- Google Cloud Help, OAuth app verification exceptions (internal apps), checked 29 October 2026
Standards on every build
Validation, retries, reconciliation, audit logs and alerts come as standard, with credentials and accounts in your name. Read the integration standards
What people ask about Gmail
Is reading our inbox safe?
Access is through a scoped Google Workspace service account limited to the mailbox and labels agreed, logged, and revocable by you.
Start with the one Gmail workflow your team still runs by hand
Bring it to a discovery call. You leave with a yes or no on fit, an outline of the build and what we would do first.
Book the call













