Skip to content

Connect Gmail to Microsoft Teams

Customers and partners email you in Gmail, while your colleagues work in Microsoft Teams. Connect them to reply by email and tell the team in Teams at the same moment, so requests and announcements reach both sides.

Build your own

Build any Gmail and Microsoft Teams automation you can describe

The ideas above are ready-made starting points, not a fixed list. Describe what should happen between Gmail and Microsoft Teams 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

Post Gmail emails labeled Support to Teams, but only if AI rates them as a complaint or a cancellation request, and include the customer's last three emails as context.

Every Friday at 4pm, post a Teams summary of how many emails reached sales@ this week, which ones are still unanswered, and the oldest waiting one.

Use cases

Why people connect Gmail and Microsoft Teams

How the two apps work together

  • ClickRuntime checks Gmail every few minutes for emails matching a label, sender or search query.
  • Each match is posted to a Teams channel or chat with sender, subject and an AI summary if you want one.
  • The script can also create Gmail drafts or replies from the same run, but only if you describe that.
  • Customer emails visible to a Teams-based team

    Companies that use Gmail for customer contact but Teams internally need both in one place. New emails to sales@ or support@ can be posted to a Teams channel with a short summary.

  • Order and invoice alerts for finance

    Finance teams receive invoices and payment receipts in Gmail. Posting each one to a Teams finance channel with the vendor, amount and due date helps approvals start sooner.

  • Lead replies routed to the account owner

    Sales reps send outreach from Gmail and need to know when a prospect replies. A Teams message to the rep with the reply and a suggested next step keeps response times short.

  • Daily summary of a busy inbox

    Founders and team leads with heavy Gmail traffic can get one Teams post each morning. AI groups the past day's emails by topic and lists what needs an answer.

More apps

Gmail, Microsoft Teams 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.

Log invoice emails to Sheets and alert Teams

When an invoice email arrives in Gmail, add the vendor, amount and due date to our Invoices Google Sheet and post a summary in the Finance Teams channel.

Prospect replies logged in HubSpot with Teams ping

When a prospect replies to my Gmail outreach, log the email on their HubSpot contact and message me in Teams with the reply text.

Teams alert for meeting requests in Gmail

If an email in Gmail asks for a meeting, check my Google Calendar for free slots this week and post the request plus three open times to my Teams chat.

Setup

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

Microsoft Teams

Chat / Collaboration

  1. Register an app in your Microsoft tenant and add the delegated permissions ChannelMessage.Send, Chat.ReadWrite, Team.ReadBasic.All, Channel.ReadBasic.All and offline_access.
  2. Create a client secret for the app and copy its client ID and secret.
  3. In the ClickRuntime dashboard, open Connections, choose Microsoft Teams and enter your app's client ID and secret.
  4. If you only need to post to one channel, you can instead open that channel in Teams, choose Workflows → 'Post to a channel when a webhook request is received', and save the URL as a secret on Connections & secrets.

FAQ

Questions about connecting Gmail and Microsoft Teams

Can I use Gmail with a Microsoft 365 team?
Yes. You connect a Google account for Gmail and a Microsoft account for Teams. They can belong to different organisations.
Which address do the emails come from?
Your own Gmail or Google Workspace address, so replies come back to your inbox.
Will it send emails without me checking?
Only if you ask it to. It can save drafts in Gmail instead and post a note in Teams, so you review before anything goes out.
Which Teams channel gets the notice?
The one you choose when setting it up, such as a sales or events channel.
Can it post to a private Teams channel?
Yes, as long as the Microsoft account you connect is a member of that channel.
Will it post attachments to Teams?
It can post the attachment name or a short AI summary of the content. Files are not uploaded to Teams unless you ask for that.
Does it work with a Google Workspace address?
Yes. Both personal Gmail and Google Workspace accounts connect the same way through Google's consent screen.

Tell your assistant what Gmail and Microsoft Teams should do together

Free plan. No credit card.