(G) - Email Classification

★ 6.0 · n8n · complex · 26 nodes

(G) - Email Classification is an n8n automation template that receives incoming messages via webhook and automatically classifies them using Gmail. Reach for it when sorting mail into folders by hand has become a chore, when you need to auto-label emails by topic or sender, or when different email types should trigger different downstream workflows. The template fires on a Webhook trigger, connects to Gmail through n8n's native integration, and implements routing logic based on email classification. The direction is classifying inbound mail, not composing or sending it — for outbound email generation, look at other templates in the catalogue. Deploy by importing the JSON template into any n8n instance, self-hosted or cloud. Works best for Gmail users with an existing n8n setup; not suitable if your mail provider isn't Gmail or if webhook triggers are unavailable in your environment. Trigger: Webhook. Integrations: Gmail.