AI Email Agent — Smart Inbox Automation with Outlook, AI Drafting & Attachment Processing
About this template
Turn any Outlook inbox into an AI-powered email response system. This 54-node n8n workflow reads incoming emails, classifies them with AI, processes attachments (images, PDFs, spreadsheets, Word docs), and auto-drafts intelligent replies — you just review and hit Send.
What it does:
Fetches unread emails from Outlook on a schedule
Filters out automated/no-reply emails automatically
Classifies each email as "Needs Reply" or "FYI" using AI
Downloads and processes attachments — images analyzed with GPT Vision, PDFs parsed, spreadsheets extracted, DOCX converted
Builds full conversation thread context for the AI
Drafts accurate, professional replies using a custom AI agent with two tools: a Calculation Engine (customizable pricing/logic in JavaScript) and a Knowledge Base (Google Doc you control)
Creates draft replies directly in Outlook — never auto-sends
Logs every draft to Google Sheets for quality tracking
Tags processed emails in Outlook (Automated / FYI / Draft Created)
Telegram alerts for errors and rate limits
Rate limit handling with retry backoff
Customizable for any industry — manufacturing, wholesale, construction, professional services, real estate, e-commerce. Replace the AI prompt, pricing logic, and knowledge base to fit any business.
Production-tested — currently running 24/7 for a real B2B company processing customer emails daily.
Tech stack: n8n + Microsoft Outlook + OpenAI GPT + OpenRouter + Google Docs + Google Sheets + Telegram
What's included
Importable workflow
A .json / .n8n file, ready to import
Setup instructions
Credentials and config explained
One-click import
Load it straight into n8n
Seller support
Get help directly from the seller
Choose Your Package
Product Only
Download the product file (creator-set price)
Installation + Product
Product + professional setup (creator-set price)
Installation + Support + Maintenance
Everything + 1 year maintenance (€297/month)

