Send AI-Summarized Unread Email Alerts to Slack using GPT-4o and Gmail

Go to Workflow
0 views
Built by Matt Chong | n8n Creator Matt Chong | n8n Creator
Created on June 05, 2026

Description

Who is this for?
If you’re overwhelmed with incoming emails but only want to be notified about the essentials, this workflow is for you. Perfect for busy professionals who want a short AI summary of new emails delivered directly to Slack.

What does it solve?
Reading every email wastes time. This workflow filters out the noise by:
Automatically summarizing each unread Gmail email using AI
Sending you just the sender and a short summary to Slack
Helping you stay focused without missing key information

How it works
Every minute, the workflow checks Gmail for unread emails
When it finds one, it:
Extracts the email content
Sends it to OpenAI’s GPT model for a 250-character summary
Delivers the message directly to Slack

How to setup?
Connect your accounts:
Gmail (OAuth2)
OpenAI (API key or connected account)
Slack (OAuth2)
Edit the Slack node:
Choose the Slack user/channel to send alerts to
Optional: Adjust the AI prompt in the “AI Agent” node to modify the summary style
Optional: Change polling frequency in the Gmail Trigger node

How to customize this workflow to your needs
Edit the AI prompt to:
Highlight urgency
Include specific keywords
Extend or reduce summary length
Modify the Slack message format (add emojis, tags, or links)

Nodes Used (5)

AI Agent
@n8n/n8n-nodes-langchain.agent
Gmail
n8n-nodes-base.gmail
OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi
Slack
n8n-nodes-base.slack
Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured