ContactBook a call

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

  • Messages and threads
  • Labels
  • Attachments
  • Drafts

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

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

  1. 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.

  2. 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

  1. Step 1$500Automation AuditCredited to the build
  2. Step 2from$1,000Workflow automationFixed after the audit
  3. Step 3from$3,000Internal toolsFixed after the audit
  4. 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.

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
A screen from an SBD build using Gmail
A screen from an SBD build using Gmail.

Cookie preferences

Choose what this site may use on your device. You can change this at any time from “Cookie settings” in the footer.

Strictly necessary

Keep the site working and remember the choices you make here. These cannot be switched off, and none of them track you.

Always on
What this includes (4)
NameProvider PurposeDuration
sbd-consentThis site Remembers your cookie choices12 months
Vercel Web AnalyticsVercel Inc. Counts page views in aggregate. Sets no cookie and stores nothing on your deviceNone
ticker-dismissed, sbd-note-offThis site Remembers that you closed a notice or language tipUntil the tab closes
sbd-voice-resume, sbd-voice-prefillThis site Carries a voice conversation across pages, only if you start oneUntil the tab closes

Analytics

Tell us which pages are read and where visitors leave, so we can improve them. IP addresses are anonymised and nothing is used for advertising.

What this includes (2)
NameProvider PurposeDuration
_gaGoogle Analytics (Google LLC) Distinguishes visitors with a random ID13 months
_ga_FPXDMQPRV1Google Analytics (Google LLC) Keeps the session state for this site13 months

Functional

Embedded services that set their own cookies. Without them the site still works; you get a link to open the service instead.

What this includes (1)
NameProvider PurposeDuration
Booking calendarCal.com Inc. Shows live availability and books the call on the booking pageSet by Cal.com

Advertising

Not used. This site has no advertising, retargeting or social media tracking, and we never sell data.

Not used

Questions about your data: hello@smallbaydigital.com