Automated email assistant for suppliers using OpenAI and Google Sheets
Needs changesNeeds changes. This template uses 1 thing(s) that n8n 3.0 removes: AI Agent v1 (old agent modes). 1 breaking item(s) found. Static check, last run 2026-10-19.
What to replace before upgrading
| Removed in 3.0 | Replace with |
|---|---|
| AI Agent v1 (old agent modes) Personal Email Assistant (v1.9) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Nodes used (9)
- MCP Server Trigger
@n8n/n8n-nodes-langchain.mcpTrigger - Gmail Tool
n8n-nodes-base.gmailTool - Chat Trigger
@n8n/n8n-nodes-langchain.chatTrigger - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow - MCP Client Tool
@n8n/n8n-nodes-langchain.mcpClientTool - Think Tool
@n8n/n8n-nodes-langchain.toolThink - Google Sheets Tool
n8n-nodes-base.googleSheetsTool
What it does
Automated Email Assistant for Busy Professionals This assistant is designed for people who don't have time to write and send emails to suppliers. With just one request, it drafts and sends clear, professional messages automatically. How It Works The user makes a request (e.g., “Send an email to my fruit supplier asking for a quote on 1 crate of mangoes.”). Workflow: 1. The AI agent searches for the supplier in a Google Sheets database. 2. It automatically drafts the email using OpenAI (with the tone and style you define). 3. It sends the email using your Gmail account connected through n8n. This assistant uses: - Google Sheets to manage your suppliers (name and email). - OpenAI to generate clear, natural messages. - MCP (client-server logic) to handle request processing. - Gmail as the sending channel for automated emails. Setup Instructions 1. Create a Google Sheets document with the supplier name and email, like this: |Supplier name|Email| |-|-| |Proveedor de frutas Alvarez|[email protected]| 2. Connect your Google Sheets and Gmail accounts within n8n. 3. Add your OpenAI API key. Test the automation by chatting with the integrated assistant. It will generate and send the email automatically to the indicated supplier. Requirements - OpenAI API key to generate email content. - Gmail account connected via OAuth2. - Google Sheets document with your supplier database. - n8n instance (cloud or self-hosted). Customization Adjust the OpenAI prompt to make the email tone more formal, casual, or technical. Add custom fields to your supplier sheet (location, notes, special conditions). Replace Google Sheets with a real database like Supabase or PostgreSQL for greater scalability.