Skip to content

Connect Gmail to SerpApi

Email is where many people already read their news, and SerpApi can gather that news for you. Connect them and fresh search results arrive in your inbox as a digest, a brief, a job list or a set of post drafts, ready to read with your morning coffee.

Build your own

Build any Gmail and SerpApi automation you can describe

The ideas above are ready-made starting points, not a fixed list. Describe what should happen between Gmail and SerpApi in your own words, with your conditions, other apps or an AI step, and your assistant writes it, tests it and runs it on ClickRuntime.
  • Your own rules

    Conditions, thresholds, filters and exceptions, written the way you'd explain them to a colleague.

  • Any number of apps

    One automation can read from one app and update several others. Over 248 apps are ready, and anything with an API works too.

  • AI where it helps

    Summaries, classification, extraction and drafts use ClickRuntime's built-in AI, with no extra key.

  • On a schedule or on each event

    Runs as often as every 5 minutes, or the moment an app sends an event, and keeps track of what it already handled.

For example, ask your assistant

Only email jobs posted in the last 24 hours that are remote or in my city.

Skip news results from sites on my blocklist and group the rest by source.

Use cases

Why people connect Gmail and SerpApi

How the two apps work together

  • A schedule or a check every few minutes reads Gmail for requests or runs daily.
  • The script calls SerpApi for search, news, jobs or shopping results.
  • It emails results or summaries from your Gmail address.
  • Job seekers watching openings

    A daily email lists new Google Jobs results for chosen roles. Openings are seen early.

  • Marketers monitoring mentions

    News results for a brand are emailed daily. Coverage is tracked.

  • Shoppers tracking deals

    Shopping results for products are emailed when prices drop. Savings are found.

  • Writers researching topics

    A topic emailed to yourself returns top results with summaries. Research is faster.

More apps

Gmail, SerpApi and other apps in one automation

An automation isn't limited to two apps. Add the next step in another app and it runs as part of the same automation.

Job log

Log every new job from my SerpApi search to my Google Sheet and email me the new ones each day.

Mentions alert

Email me brand mentions from Google News each morning and post big ones to #marketing.

Summarised research

When I email myself a topic, search with SerpApi, summarise with OpenAI and reply.

Setup

Connect Gmail and SerpApi once

Every idea on this page uses the same two connections, so you set them up once. If one is missing, your assistant tells you and links to the right place.

Gmail

Email

  1. At console.cloud.google.com, create a project and enable the Gmail API under APIs & Services → Library.
  2. Set up the OAuth consent screen. On Google Workspace choose Internal. On a personal Gmail account choose External, then under Audience click Publish app so it is In production, not Testing.
  3. Under Data Access, add the scopes you need, such as https://www.googleapis.com/auth/gmail.modify, or gmail.send if you only want to send.
  4. Under Clients, create an OAuth client of type Web application with the redirect URI https://clickruntime.com/oauth/callback.
  5. In the ClickRuntime dashboard, open Connections, choose Gmail and enter the client ID and secret. On a personal account Google shows an unverified-app screen: click Advanced, then go to your app.

SerpApi

Data / Search results API

  1. Sign in at serpapi.com and open your dashboard.
  2. Open Your Private API Key (the manage-api-key page) and copy the key.
  3. In the ClickRuntime dashboard, open Connections & secrets and save the key as a SerpApi secret.

FAQ

Questions about connecting Gmail and SerpApi

Who are the emails sent from?
Your own Gmail or Google Workspace address, sent to yourself or anyone you list. They land in your inbox like any other message, so you can search, label or forward them.
Can I ask for a brief by email?
Yes. The research brief automation watches for emails you send yourself with a subject such as "brief: Northwind" and replies in the same thread.
Will it email me when nothing new turned up?
No. The digests skip results you have already seen, and if there is nothing new the email is not sent.
How many searches does a digest use?
A few per run, one for each topic, store or job query you set. You can see the count in your SerpApi account.
Can it search jobs?
Yes. SerpApi supports Google Jobs results.
Can I change the search terms?
Yes. Update the list in the script or ask your assistant.
Can it send to several people?
Yes. Add the addresses you want.

Tell your assistant what Gmail and SerpApi should do together

Free plan. No credit card.