Skip to content

Connect Gmail to Pinecone

Pinecone holds your knowledge, such as help docs, product information or your CV, in a form that can be searched by meaning. Gmail is where questions arrive and answers go out. Connecting them lets replies, outreach and alerts draw on what you know, instead of starting from a blank email each time.

Ideas

What you can do with Gmail and Pinecone

Reply drafts, outreach, job matches and filtered news, all grounded in what you keep in Pinecone. These are ready-made starting points. Anything else you can describe works too.

Build your own

Build any Gmail and Pinecone automation you can describe

The ideas above are ready-made starting points, not a fixed list. Describe what should happen between Gmail and Pinecone 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 send replies directly when the best match score is over 0.85; otherwise save a draft.

Store every reply I send with the label "good answer" in Pinecone for future use.

Use cases

Why people connect Gmail and Pinecone

How the two apps work together

  • A check every few minutes reads Gmail for new questions or labelled emails.
  • The script searches Pinecone for relevant text and writes an answer with AI.
  • It saves a draft or sends the reply from Gmail.
  • Support teams drafting accurate replies

    Customer emails are answered using a Pinecone knowledge base. Drafts follow your docs.

  • Founders answering common questions

    Repeated questions get draft replies from stored answers. Time is saved.

  • Teams indexing email knowledge

    Useful emails are stored in Pinecone for search. Knowledge is not lost.

  • Sales teams answering product questions

    Questions about features are answered from product docs. Answers are consistent.

More apps

Gmail, Pinecone 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.

Review in Slack

Post each AI drafted reply to #support for review before sending from Gmail.

Index Drive docs

Keep my Pinecone index up to date from my Google Drive help folder and use it for Gmail replies.

Reply log

Log each question, answer and sources to my Google Sheet.

Setup

Connect Gmail and Pinecone 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.

Pinecone

AI / Vector database

  1. In the Pinecone console, open the project that holds your index.
  2. Go to API Keys and create a new API key, then copy it.
  3. In the ClickRuntime dashboard, open Connections & secrets and save the key as a secret for Pinecone. It is sent in the Api-Key header.

FAQ

Questions about connecting Gmail and Pinecone

Do I need a Pinecone account?
Yes. Create an index with built-in embedding and save your Pinecone API key in your ClickRuntime dashboard. Pinecone's free starter plan is enough for most personal and small-team uses.
Will emails be sent without me checking?
Only where you choose. Support replies are saved as Gmail drafts; welcome and summary emails can be sent directly if you ask for that.
Which address sends the emails?
Your own Gmail or Google Workspace address, so replies come back to your inbox.
How do I get my documents into Pinecone?
With an indexing automation, such as the nightly sync here, or by uploading them yourself in Pinecone.
Can it reply in the same thread?
Yes. Replies are sent in the original Gmail thread.
Can it skip newsletters and spam?
Yes. It can filter by label, sender or AI check.
Does it use namespaces?
Yes. Pinecone namespaces can separate products or clients.

Tell your assistant what Gmail and Pinecone should do together

Free plan. No credit card.