Connect Gmail to Microsoft Teams
Ideas
What you can do with Gmail and Microsoft Teams
Confirm bookings by Gmail and tell your team in Teams
When a client books through your web form, they get a confirmation email from your Gmail and your team gets a message in Teams.
See how it worksAnnounce new feed items in Teams and by email
When a new article or product appears in your RSS feed, it is posted to your Teams channel and emailed to your subscriber list.
See how it works Your own logicAny other automation you can describe in words
Your own rules, schedule and AI steps with Gmail and Microsoft Teams, plus any other app. Describe it and your assistant builds it.
See how to build your ownBuild your own
Build any Gmail and Microsoft Teams automation you can describe
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
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
Gmail
- At console.cloud.google.com, create a project and enable the Gmail API under APIs & Services → Library.
- 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.
- Under Data Access, add the scopes you need, such as
https://www.googleapis.com/auth/gmail.modify, orgmail.sendif you only want to send. - Under Clients, create an OAuth client of type Web application with the redirect URI
https://clickruntime.com/oauth/callback. - 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
- Register an app in your Microsoft tenant and add the delegated permissions
ChannelMessage.Send,Chat.ReadWrite,Team.ReadBasic.All,Channel.ReadBasic.Allandoffline_access. - Create a client secret for the app and copy its client ID and secret.
- In the ClickRuntime dashboard, open Connections, choose Microsoft Teams and enter your app's client ID and secret.
- 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?
Which address do the emails come from?
Will it send emails without me checking?
Which Teams channel gets the notice?
Can it post to a private Teams channel?
Will it post attachments to Teams?
Does it work with a Google Workspace address?
Related pages
Keep exploring
Tell your assistant what Gmail and Microsoft Teams should do together
Free plan. No credit card.