Templates / Auto-reply to emails using Google Gemini AI and SendGrid

Auto-reply to emails using Google Gemini AI and SendGrid

Ready for 3.0

by Gilbert Onyebuchi ✓ · 116 views · created 2026-01-04 · Ticket Management, AI Chatbot

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 8 nodes and runs when a new email arrives over IMAP. Along the way it connects Google Gemini Chat Model and SendGrid.

How it runs

Trigger: When a new email arrives over IMAP.

  1. Pause for 20 seconds (Wait): waits 20 seconds
  2. Set your details (Edit Fields (Set)): sets 3 fields: from, subject, body
  3. Check if email exists (If): checks a condition and branches into true / false
  4. Generate reply email (AI Agent): runs an AI agent, with model: Google Gemini Chat Model; memory: Simple Memory
  5. Send reply email (SendGrid): work with mail

Services it uses

Google Gemini Chat ModelSendGrid

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (8)

From the author

Transform your inbox into an intelligent assistant! This workflow automatically reads incoming emails, generates personalized AI responses using Google Gemini, and sends professional replies—all on autopilot. How It Works: 1. Monitors Your Inbox - IMAP…

Excerpt from Gilbert Onyebuchi's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.