A laptop showing a web search page on a table, with a phone beside it, banner image on the Gmail: send, reply and draft emails, label and archive them, react to new mail. page

Connector - Email

Gmail: send, reply and draft emails, label and archive them, react to new mail.

Google's email service; the most common inbox for the small teams HiringsAI serves.

What Gmail can do

Starts when

  • An email arrives, or matches a search
  • An email is starred
  • An email or conversation gets a label
  • A new conversation starts
  • An attachment arrives
  • A label is created

Does

  • Send an email
  • Reply to or forward an email
  • Create a draft or a draft reply
  • Add or remove a label
  • Create a label
  • Archive or delete an email
  • Read a whole conversation

Finds

  • Find an email
  • Get an attachment by file name
  • Find an email, or send one if none exists

What it does

Ways teams use this connector.

Example 1

New email matching a filter starts a playbook run with subject, sender and body as inputs.

Example 2

A playbook's approval step sends a plain-language email from your address when you approve.

Example 3

Weekly digest: unread counts by label, compiled by the weekly-report-compiler.

How connecting works

Access: Google OAuth, least-scope: read labels + send. The setup guide lists the exact scopes, triggers and actions. You approve the access once; HiringsAI stores the token against your account, names the exact scopes it holds, and lets you disconnect from the same screen whenever you want. Source: official Gmail documentation.

1You approve onceOn Gmail’s own consent screen - Google OAuth - read labels +send only.2The mechanism, exactlygmail.labels and gmail.send scopes; no full-mailbox scope.3Token stored against your accountNothing reads or writes before you connect.4Disconnect anytimeFrom the same screen, whenever you want.How access works for this connector.

Try the filter on an example email

A first use is: new email matching a filter starts a playbook run with subject, sender and body as inputs. Edit the filter and the sample email to see which emails would start a run and what the run would receive.

Preview. Nothing is connected, and nothing is read or sent. The data shown is an example.
Try an example
 

Why it matters. A filter has two jobs: let the right email in and keep everything else out. The sender test compares the whole domain, so a lookalike such as acme.example.net does not pass. The run gets three named inputs, which is all the playbook can use later.

Try thisWhat you should see, and why
Matching invoiceStarts a run. Both tests pass, and the run receives subject, sender and body.
Lookalike domainDoes not start. The subject passes, the sender domain is acme.example.net, not acme.example.
Right sender, other topicDoes not start. The subject test fails, so a friendly note from the same person is left alone.

Note. This example shows the matching rule. Timing, volume and the exact fields depend on how Gmail delivers messages.

Free tools for this job

These free tools do part of the job in your browser, with no account: Email Parser · Email Thread Summarizer · Weekly Report Compiler.

Playbooks that use it

Your first automation from a prompt · Auto-triage a shared inbox · Turn emails into tasks automatically

All connectors

How it works

Email filter to approval. Sample email (example).

StepEventWhat happens (example)
1Email 'Invoice question' matches filterRun starts with subject, sender and body
2Playbook drafts replyHeld at the approval step
3You approvePlain-language email sent from your address
4FridayDigest of unread counts by label

An example with sample numbers.

What you can do with Gmail

The operations below are what a run can do with Gmail.

OperationWhat it does
Add LabelAdds a label to a message.
DeleteDeletes a message.
GetGets one message.
Get ManyGets several messages.
Mark as ReadMarks a message as read.
Mark as UnreadMarks a message as unread.
Remove LabelRemoves a label from a message.
ReplyReplies to a message.

The scenarios on this page move these pieces of information:

Limits to keep in mind

Gmail’s own rate limits and plan limits apply to every platform that connects to it, and they apply to this connector too. The exact numbers live in Gmail’s official documentation, linked at the top of this page.

Terms used here

OAuththe sign-in flow where you approve access on the provider’s own screen, not ours.
Scopea named permission, such as reading channels or posting messages. You see the exact scopes before you approve.
Tokenthe credential stored against your account after you approve. It is what lets the connector act, and disconnecting removes it.
Triggerthe event that starts a run, such as a keyword in a watched channel.
Actionone thing a run does, such as posting a message or creating a record.
Playbooka HiringsAI guide that turns a job into steps a person or an agent can follow.

Where the facts on this page come from: Gmail’s official documentation (linked at the top), .

Map an email without losing the message context

This field map explains Gmail API behavior behind the connector. Each row the account, message and thread distinct when planning the workflow.

FieldMeaningHow to use it
qMessage searchUse an explicit search such as is:unread with the intended sender or label constraints. Gmail supports search-box syntax, but q cannot be used with gmail.metadata access.
labelIdsLabel filteringA list request matches all supplied labels. Labels can differ between messages in the same thread, so do not assume one matching message labels the whole conversation.
id and threadIdMessage and conversationThe list response includes identifiers, not complete message bodies. Fetch message details separately before summarizing or extracting actions.
nextPageTokenRemaining search resultsFollow it until the selected result set is covered. A short first page does not establish the complete unread count.
resultSizeEstimateEstimated countThis is an estimate, not a measured final count. Distinguish an estimate from a count obtained by reading every page.
MIME headers and bodyOutgoing messageReview To, Cc, Bcc, subject and body before sending. A display name is not a safe substitute for the actual recipient address.
rawEncoded outgoing emailGmail sends a MIME message encoded as base64URL in this field. Encoding a message does not make its contents approved or safe.
historyId and expirationMailbox change trackingPush notifications provide mailbox history information. Retrieve the actual changes and renew the watch before it expires.

Three email scenarios with clear stop points

These examples expand the uses listed above into inputs, expected results and checks. They describe the connector design and manual review path, not a live inbox connection.

Start from a filtered incoming message

Example input: a chosen mailbox and a filter for unread support messages. The list returns message IDs and thread IDs. Retrieve the relevant message details to supply its subject, sender and body to the playbook.

Expected result: one proposed job tied to the matching message, with its account and conversation retained. A matching subject is not proof of the sender's identity or permission to perform an action described in the email.

Check: a second message in the same conversation is not necessarily a duplicate of the first. Track message IDs and account identity. If a fetch fails, do not replace the missing body with the search snippet and present it as a full reading.

Review an approval email before it leaves the account

Example input: a pending approval step, an exact recipient and a draft body describing the decision needed. The flow prepares the message for review before sending from the connected address.

Expected result: a reviewed email addressed to the intended person, with the right subject and complete decision context. Sending access is a separate permission from reading access. An approval to read an inbox is not permission to send mail.

Check: inspect every To, Cc and Bcc address. Recheck the stored draft before send if anyone can edit it. A successful API send does not establish that the person read the message or approved the underlying job. Keep the requested decision open until a real response arrives.

Compile unread counts by label

Example input: two chosen labels and an unread filter for a defined mailbox. Query each label, follow its pages and distinguish messages from threads before counting.

Expected result: a label-by-label digest with the counting rule stated. A message belonging to two labels can appear in both counts; adding the label counts does not necessarily give the number of unique unread messages.

Check: use resultSizeEstimate only as an estimate. Fetch complete results for an exact count and deduplicate by message ID if the report promises unique messages. A permission error must not become a zero count. Re-read relevant messages before proposing follow-ups because the user may already have handled them.

Inbox access is not sending permission

Google distinguishes gmail.metadata, gmail.readonly and gmail.send. Metadata access exposes labels and headers, not the body, and does not support the q search parameter. Read-only access is not send access. The final setup guide must name what the connector actually needs instead of asking for every mailbox permission.

A message list contains IDs and thread IDs. Summaries and decisions need the message content fetched separately. Treat quoted replies and attachments as separate evidence to inspect where relevant. Do not infer a complete thread from one result, or use a familiar display name as authentication.

Gmail push notifications provide an email address and history ID, not the complete new email. Use history.list to retrieve the changes since the prior state. Google requires renewing watch at least every seven days and recommends daily renewal. A watch that expires can stop updates, so the future workflow needs an explicit renewal and recovery path.

Retrying a failed read is different from retrying a send whose outcome is uncertain. Before repeating a send, check current sent-mail state so a slow response does not produce duplicate emails. Keep drafts separate from sent messages and leave the user a clear failure state when recipients, permissions or delivery outcome cannot be established.

Sources: Message listing and filters, Fetching message details, MIME and sending, Permission scopes, Push updates and renewal.

Questions about this connector

Can I connect Gmail?

Yes. Connect it from your HiringsAI account. Anything that changes data waits for your approval.

How does Gmail sign-in work?

Google OAuth, least-scope: read labels + send. You approve access once. HiringsAI stores the credential against your account, names what it holds, and lets you disconnect from the same screen.

What does it read and write?

No. Nothing reads or writes until you connect.

What does the Gmail connector cost?

Plans and prices are on the pricing page. The free tools linked on this page need no account and no card.

What access does the connector need?

The connection method is explained above. The setup guide lists the exact permissions and supported actions.

A wooden desk with glasses, a coffee cup, a plant and the edge of a laptop, banner image on the Gmail: send, reply and draft emails, label and archive them, react to new mail. page

Find the connector you need.

Every connector page lists what it can do.

Starts whenDoesFindsA sample runAn email arrives, or matches a searchAn email is starredAn email or conversation gets a labelA new conversation startsAn attachment arrivesA label is createdSend an emailReply to or forward an emailCreate a draft or a draft replyAdd or remove a labelStarts whenDoesFindsA sample runAn email arrives, or matches a searchAn email is starredAn email or conversation gets a labelA new conversation startsAn attachment arrivesA label is createdSend an emailReply to or forward an emailCreate a draft or a draft replyAdd or remove a label
01

What Gmail can do

This page lists what the Gmail connector can start from, do and find. Each section below takes one part and shows it step by step, from the connector's own feature list.

Starts when6 ways to start a run, such as: An email arrives, or matches a search.
Does7 actions, such as: Send an email.
Finds3 lookups, such as: Find an email.
A sample runEmail filter to approval.
02

What starts a run in Gmail

These are the events in Gmail that can start a playbook.

An email arrives, or matches a searchStarts a run in Gmail.
An email is starredStarts a run in Gmail.
An email or conversation gets a labelStarts a run in Gmail.
A new conversation startsStarts a run in Gmail.
An attachment arrivesStarts a run in Gmail.
A label is createdStarts a run in Gmail.
03

What a run can do in Gmail

These are the actions a run can take in Gmail.

Send an emailAn action a run can take in Gmail.
Reply to or forward an emailAn action a run can take in Gmail.
Create a draft or a draft replyAn action a run can take in Gmail.
Add or remove a labelAn action a run can take in Gmail.
Create a labelAn action a run can take in Gmail.
Archive or delete an emailAn action a run can take in Gmail.
04

What a run can find in Gmail

These lookups let a run read before it changes anything in Gmail.

Find an emailA lookup a run can make in Gmail.
Get an attachment by file nameA lookup a run can make in Gmail.
Find an email, or send one if none existsA lookup a run can make in Gmail.
05

A sample run, step by step

Email filter to approval. The numbers are made up to show the shape of a run.

Email 'Invoice question' matches filterRun starts with subject, sender and body
Playbook drafts replyHeld at the approval step
You approvePlain-language email sent from your address
FridayDigest of unread counts by label
Sample run (example data)
StepEventWhat happens (example)
1Email 'Invoice question' matches filterRun starts with subject, sender and body
2Playbook drafts replyHeld at the approval step
3You approvePlain-language email sent from your address
4FridayDigest of unread counts by label
  1. Step 1Email 'Invoice question' matches filter: Run starts with subject, sender and body
  2. Step 2Playbook drafts reply: Held at the approval step
  3. Step 3You approve: Plain-language email sent from your address
  4. Step 4Friday: Digest of unread counts by label
06

Map an email without losing the message context

This field map explains Gmail API behavior behind the connector. Each row the account, message and thread distinct when planning the workflow.

qMessage search: Use an explicit search such as is:unread with the intended sender or label constraints.
labelIdsLabel filtering: A list request matches all supplied labels.
id and threadIdMessage and conversation: The list response includes identifiers, not complete message bodies.
nextPageTokenRemaining search results: Follow it until the selected result set is covered.
resultSizeEstimateEstimated count: This is an estimate, not a measured final count.
MIME headers and bodyOutgoing message: Review To, Cc, Bcc, subject and body before sending.
Map an email without losing the message context
FieldMeaningHow to use it
qMessage searchUse an explicit search such as is:unread with the intended sender or label constraints. Gmail supports search-box syntax, but q cannot be used with gmail.metadata access.
labelIdsLabel filteringA list request matches all supplied labels. Labels can differ between messages in the same thread, so do not assume one matching message labels the whole conversation.
id and threadIdMessage and conversationThe list response includes identifiers, not complete message bodies. Fetch message details separately before summarizing or extracting actions.
nextPageTokenRemaining search resultsFollow it until the selected result set is covered. A short first page does not establish the complete unread count.
resultSizeEstimateEstimated countThis is an estimate, not a measured final count. Distinguish an estimate from a count obtained by reading every page.
MIME headers and bodyOutgoing messageReview To, Cc, Bcc, subject and body before sending. A display name is not a safe substitute for the actual recipient address.
rawEncoded outgoing emailGmail sends a MIME message encoded as base64URL in this field. Encoding a message does not make its contents approved or safe.
historyId and expirationMailbox change trackingPush notifications provide mailbox history information. Retrieve the actual changes and renew the watch before it expires.
07

Start from a filtered incoming message

Example input: a chosen mailbox and a filter for unread support messages. The list returns message IDs and thread IDs. Retrieve the relevant message details to supply its subject, sender and body to the playbook.

Expected resultone proposed job tied to the matching message, with its account and conversation retained.
Checka second message in the same conversation is not necessarily a duplicate of the first.
Inputa chosen mailbox and a filter for unread support messages.
  1. InputExample input: a chosen mailbox and a filter for unread support messages. The list returns message IDs and thread IDs. Retrieve the relevant message details to supply its subject, sender and body to the playbook.
  2. Expected resultExpected result: one proposed job tied to the matching message, with its account and conversation retained. A matching subject is not proof of the sender's identity or permission to perform an action described in the email.
  3. CheckCheck: a second message in the same conversation is not necessarily a duplicate of the first. Track message IDs and account identity. If a fetch fails, do not replace the missing body with the search snippet and present it as a full reading.
08

Review an approval email before it leaves the account

Example input: a pending approval step, an exact recipient and a draft body describing the decision needed. The flow prepares the message for review before sending from the connected address.

Expected resulta reviewed email addressed to the intended person, with the right subject and complete decision context.
Checkinspect every To, Cc and Bcc address.
Inputa pending approval step, an exact recipient and a draft body describing the decision needed.
  1. InputExample input: a pending approval step, an exact recipient and a draft body describing the decision needed. The flow prepares the message for review before sending from the connected address.
  2. Expected resultExpected result: a reviewed email addressed to the intended person, with the right subject and complete decision context. Sending access is a separate permission from reading access. An approval to read an inbox is not permission to send mail.
  3. CheckCheck: inspect every To, Cc and Bcc address. Recheck the stored draft before send if anyone can edit it. A successful API send does not establish that the person read the message or approved the underlying job. Keep the requested decision open until a real response arrives.
09

Compile unread counts by label

Example input: two chosen labels and an unread filter for a defined mailbox. Query each label, follow its pages and distinguish messages from threads before counting.

Expected resulta label-by-label digest with the counting rule stated.
Checkuse resultSizeEstimate only as an estimate.
Inputtwo chosen labels and an unread filter for a defined mailbox.
  1. InputExample input: two chosen labels and an unread filter for a defined mailbox. Query each label, follow its pages and distinguish messages from threads before counting.
  2. Expected resultExpected result: a label-by-label digest with the counting rule stated. A message belonging to two labels can appear in both counts; adding the label counts does not necessarily give the number of unique unread messages.
  3. CheckCheck: use resultSizeEstimate only as an estimate. Fetch complete results for an exact count and deduplicate by message ID if the report promises unique messages. A permission error must not become a zero count. Re-read relevant messages before proposing follow-ups because the user may already have handled them.
10

Inbox access is not sending permission

Google distinguishes gmail.metadata, gmail.readonly and gmail.send. Metadata access exposes labels and headers, not the body, and does not support the q search parameter. Read-only access is not send access. The final setup guide must name what the connector actually needs instead of asking for every mailbox permission.

A message list contains IDs and thread IDsA message list contains IDs and thread IDs.
Gmail push notifications provide an emailGmail push notifications provide an email address and history ID, not the complete new email.
Retrying a failed read is different fromRetrying a failed read is different from retrying a send whose outcome is uncertain.
SourcesSources: Message listing and filters, Fetching message details, MIME and sending, Permission scopes, Push updates and renewal.
11

How connecting works

Access: Google OAuth, least-scope: read labels + send. The setup guide lists the exact scopes, triggers and actions. You approve the access once; HiringsAI stores the token against your account, names the exact scopes it holds, and lets you disconnect from the same screen whenever you want. Source: official Gmail documentation.

Can I connect Gmail?Yes.
How does Gmail sign-in work?Google OAuth, least-scope: read labels + send.
What does it read and write?No.
What does the Gmail connector cost?Plans and prices are on the pricing page.
What access does the connector need?

The connection method is explained above. The setup guide lists the exact permissions and supported actions.

12

Free tools for this job

These free tools do part of the job in your browser, with no account.

Email ParserOpens in your browser, no account.
Email Thread SummarizerOpens in your browser, no account.
Weekly Report CompilerOpens in your browser, no account.
13

Ways teams use Gmail

The uses this page lists for the Gmail connector, one per example.

Example 1New email matching a filter starts a playbook run with subject, sender and body as inputs.
Example 2A playbook's approval step sends a plain-language email from your address when you approve.
Example 3Weekly digest: unread counts by label, compiled by the weekly-report-compiler.
  1. Use 1New email matching a filter starts a playbook run with subject, sender and body as inputs.
  2. Use 2A playbook's approval step sends a plain-language email from your address when you approve.
  3. Use 3Weekly digest: unread counts by label, compiled by the weekly-report-compiler.
14

Questions about Gmail

The questions this page answers about the Gmail connector.

Can I connect Gmail?Yes.
How does Gmail sign-in work?Google OAuth, least-scope: read labels + send.
What does it read and write?No.
What does the Gmail connector cost?Plans and prices are on the pricing page.
What access does the connector need?The connection method is explained above.
Can I connect Gmail?

Yes. Connect it from your HiringsAI account. Anything that changes data waits for your approval.

How does Gmail sign-in work?

Google OAuth, least-scope: read labels + send. You approve access once. HiringsAI stores the credential against your account, names what it holds, and lets you disconnect from the same screen.

What does it read and write?

No. Nothing reads or writes until you connect.

What does the Gmail connector cost?

Plans and prices are on the pricing page. The free tools linked on this page need no account and no card.

What access does the connector need?

The connection method is explained above. The setup guide lists the exact permissions and supported actions.

15

Gmail: start, act, look up

A short list that puts one part of each kind side by side, so you can see how a run reads and writes in Gmail.

StartAn email arrives, or matches a search
StartAn email is starred
StartAn email or conversation gets a label
ActionSend an email
Start, act, look up in Gmail
KindWhat it does
StartAn email arrives, or matches a search
StartAn email is starred
StartAn email or conversation gets a label
ActionSend an email
ActionReply to or forward an email
ActionCreate a draft or a draft reply
LookupFind an email
LookupGet an attachment by file name
  1. StartAn email arrives, or matches a search
  2. StartAn email is starred
  3. StartAn email or conversation gets a label
  4. ActionSend an email
16

Where to go next from Gmail

These pages on this site help you check the details around the Gmail connector before you build a playbook.

ConnectorsBrowse every connector and compare what each can start, do and find.
PricingSee what each plan includes.
TrustRead how data, access and security are handled.
ToolsTry the free tools that run in your browser.
  1. BrowseOpen the connectors list.
  2. CheckRead the pricing page.
  3. VerifyRead the trust page.
  4. TryOpen a free tool.

Back to Gmail

Pick another connector or read this one again.

Gmail connectorAll connectors