Operations · Email · Gemini AI

AI Email Classification

Gemini AI classifies incoming emails into six business departments and routes them to the correct Airtable table automatically.

The Problem

A business was receiving high volumes of emails across sales, support, HR, finance, legal, and operations — all landing in one inbox. Someone had to read every email and manually forward it to the right team, which created delays and occasional misroutes.

The Solution

I built an n8n workflow that monitors an IMAP inbox. Each new email is passed to Gemini AI with a classification prompt that returns one of six department labels. An n8n Switch node routes the email to the corresponding Airtable table for that department, with the subject, sender, body summary, and timestamp logged automatically.

Screenshots

AI Email Classification

n8n workflow showing IMAP trigger, Gemini classification, and Switch routing

AI Email Classification

Airtable tables receiving classified emails by department

Build Something Similar
← Previous newsletter Next → clinicflow