Back to all integrations

Integrate Gmail into your AI workflows

Gmail is a widely used email service by Google, offering free and feature-rich communication, organization, and storage capabilities accessible through web browsers and mobile apps.

Try for Free

Triggers & Actions

New Email

Triggers when new mail is found in your Gmail inbox.

Trigger
Try it
New Email Polling

Periodically checks your Gmail inbox for any new incoming emails.

Trigger
Try it
Add Labels

Add labels to an email in your Gmail account.

Action
Try it
Archive Email

Archive an email message.

Action
Try it
Create Label

Creates a new label.

Action
Try it
Delete Email

Deletes an email from your Gmail account immediately and permanently.

Action
Try it

Templates using Gmail

AI Email Classifier

Polls Gmail for new emails and uses OpenAI to classify each one into a single department label (Sales, Support, Finance, Operations, HR, or URGENT). The matching Gmail label is applied, the department's recipient address is stored, and the original email is forwarded to the correct team.

TRIGGER:
New email
COMPONENTS:
+1
Fetch and send a joke or quote

This workflow fetches an inspirational quote on weekdays, and a joke on the weekends and then sends it to the email address you specify.

TRIGGER:
Daily
COMPONENTS:
+1
Generate and send a joke or quote

This workflow prompts OpenAI for an inspirational quote on weekdays and a joke on the weekends. The quote is enriched with some context. Afterwards, the joke or the quote is sent via email.

TRIGGER:
Daily
COMPONENTS:
+1
Monthly Report Generation for Nifty Project

On the first day of every month at 09:00, computes the previous month, creates a new Google Sheet tab for it, and fetches the tracked-time report from Nifty. It loops over each tracked task to retrieve details and compute its duration in hours, writes a row per task, adds a total-hours row, and emails a notification with a link to the spreadsheet.

TRIGGER:
Schedule
COMPONENTS:
+4
out of working hours

On every new Gmail message, checks whether it arrived within business hours (Mon-Fri, 09:00-17:00 UTC). For emails received outside working hours, OpenAI classifies the urgency, the email is logged to a Google Sheet, and a condition branches: urgent emails get an AI-summarized internal Slack alert plus an urgent auto-reply, while non-urgent emails get an AI-generated helpful auto-reply.

TRIGGER:
New Email
COMPONENTS:
+2
Scheduling Appointments Based on Incoming Emails

Polls Gmail for new emails. For each email, OpenAI extracts the patient name, doctor type, and requested date-time period. Free time slots are fetched from Google Calendar for that period, the workflow loops over them keeping only slots at least 45 minutes long, and OpenAI proposes a list of concrete 45-minute appointment options. The workflow replies to the original email with the suggestions.

TRIGGER:
Poll all new emails
COMPONENTS:
+2

Focus on what matters,automate the rest.

ByteChef logo
Copyright © 2026 ByteChefAll rights reserved
Subscribe to our newsletter