Draft Gmail replies with OpenAI and OpenRouter for an inbox-zero workflow
Automatically draft email replies using AI. This workflow monitors your Gmail inbox, filters out automated emails (newsletters, receipts, notifications), and uses AI to create draft responses only for emails that genuinely need your attention.
Who is this for?
Freelancers, consultants, and business owners who want to reduce email response time while maintaining quality responses.
How it works
Gmail Trigger polls your inbox for new emails
AI Classification (OpenRouter) determines if the email needs a human response - automatically filters out newsletters, receipts, system notifications, and marketing emails
Email Draft Agent (OpenAI) generates a contextual draft reply matching your writing style
Gmail saves the draft to your drafts folder
Telegram sends you a notification when drafts are created
Prerequisites
Gmail account with OAuth2 access
OpenAI API key
OpenRouter API key
Telegram bot token and chat ID
(Optional) Supabase account for vector store
Setup steps
Import the workflow and connect your Gmail OAuth2 credentials
Add your OpenAI and OpenRouter API keys
Create a Telegram bot via BotFather and add your chat ID to the notification nodes
Customise the Email Draft Agent system prompt with your business context and example emails
Test with a few emails before activating
Tags
Related Templates
AI Email Classifier & Auto-Delete for Gmail (SPAM/OFFER Cleaner)
This workflow is designed for freelancers, solopreneurs, and business owners who receive a high volume of irrelevant mes...
Generate Food Recipes from Gmail & Form Requests with Ollama & Llama 3.2
This n8n template demonstrates how to create an intelligent food recipe assistant that accepts requests via Gmail and we...
Automatic News Summarization & Email Digest with GPT-4, NewsAPI and Gmail
📰 AI News Digest Agent: Auto News Summarizer & Email Newsletter Create an intelligent news curation system that automat...
🔒 Please log in to import templates to n8n and favorite templates
Workflow Visualization
Loading...
Preparing workflow renderer
Comments (0)
Login to post comments