Auto-translate Incoming Gmail Emails to English with OpenAI GPT-3.5
# Auto-Translate Incoming Emails to English This workflow automatically detects the language of every **new Gmail email** and translates non-English messages into English. The translated email is forwarded to your inbox with a clear [TRANSLATED] subject tag, and a label is added for easy filtering. --- ## How It Works 1. **Gmail New Email Trigger** - Listens for **new unread emails** in your Gmail inbox. - Captures subject, sender, body text, and metadata. 2. **Normalize Email Data** - A **Code node** extracts the raw content from the email. - Strips HTML, normalizes plain text, and prepares data for language detection. 3. **Detect Language (OpenAI)** - Uses **OpenAI GPT-3.5-turbo** to detect the email's language. - If the language is English, the workflow ends. - If not, continues to translation. 4. **Translate to English** - OpenAI translates the email body into clear English. 5. **Prepare Translated Email** - Builds a forwarded email containing: - Original sender & subject - Received date - Message ID - Translated content (with formatting) 6. **Send Translated Email** - A **Gmail node** sends the translated message to your inbox. - Subject is prefixed with `[TRANSLATED]` for easy recognition. 7. **Add Translated Emails Label** - Automatically tags the original message in Gmail with **Translated Emails**. - Helps you filter all auto-translated emails later. --- ## Setup Steps ### 1. Gmail Label - In Gmail, create a new label: Translated Emails - Or update the label in the final Gmail node. ### 2. OpenAI API Key - Get your key from [platform.openai.com](https://platform.openai.com). - Add credentials in n8n. - Uses **GPT-3.5-turbo** (low cost, reliable). ### 3. Gmail OAuth - In n8n, connect your Gmail account. - Requires **read/modify** permissions. --- ## Example Output **Subject:** `[TRANSLATED] Meeting Proposal` **Body:** AUTO-TRANSLATED EMAIL (Original Language: ES) From: juan@example.com Received: 2025-08-29 Message ID: 123456abcdef TRANSLATED CONTENT: Hello, I wanted to ask if we can schedule the meeting for next week. “This email was automatically translated by n8n workflow. With this workflow, every foreign-language email is instantly translated and delivered to you in English - no manual copy-pasting into Google Translate again.
Auto-Translate Incoming Emails to English
This workflow automatically detects the language of every new Gmail email and translates non-English messages into English. The translated email is forwarded to your inbox with a clear [TRANSLATED] subject tag, and a label is added for easy filtering.
How It Works
- Gmail New Email Trigger - Listens for new unread emails in your Gmail inbox.
- Captures subject, sender, body text, and metadata.
- Normalize Email Data
- A Code node extracts the raw content from the email.
- Strips HTML, normalizes plain text, and prepares data for language detection.
- Detect Language (OpenAI)
- Uses OpenAI GPT-3.5-turbo to detect the email's language.
- If the language is English, the workflow ends.
- If not, continues to translation.
- Translate to English
- OpenAI translates the email body into clear English.
- Prepare Translated Email
- Builds a forwarded email containing:
- Original sender & subject
- Received date
- Message ID
- Translated content (with formatting)
- Builds a forwarded email containing:
- Send Translated Email
- A Gmail node sends the translated message to your inbox.
- Subject is prefixed with
[TRANSLATED]for easy recognition.
- Add Translated Emails Label
- Automatically tags the original message in Gmail with Translated Emails.
- Helps you filter all auto-translated emails later.
Setup Steps
1. Gmail Label
- In Gmail, create a new label: Translated Emails
- Or update the label in the final Gmail node.
2. OpenAI API Key
- Get your key from platform.openai.com.
- Add credentials in n8n.
- Uses GPT-3.5-turbo (low cost, reliable).
3. Gmail OAuth
- In n8n, connect your Gmail account.
- Requires read/modify permissions.
Example Output
Subject: [TRANSLATED] Meeting Proposal
Body: AUTO-TRANSLATED EMAIL (Original Language: ES)
From: juan@example.com
Received: 2025-08-29
Message ID: 123456abcdef
TRANSLATED CONTENT:
Hello, I wanted to ask if we can schedule the meeting for next week.
“This email was automatically translated by n8n workflow.
With this workflow, every foreign-language email is instantly translated and delivered to you in English - no manual copy-pasting into Google Translate again.
New buyers can create an account from the cart to unlock a controlled $10 first-purchase credit on eligible orders of $25+.
Related bundle
Content Repurposing Engine
8 hand-picked workflows for $29.00.
That is $3.63 each, vs $9.99 for this one alone.
View bundleSecure checkout powered by Stripe
Support
How to import this workflow into n8n
- 1Purchase or download the workflow to get the n8n workflow JSON file.
- 2In your n8n instance, open Workflows and choose "Import from File" (or paste the JSON with Ctrl+V on the canvas).
- 3Open each node marked with a credential warning and connect your own accounts and API keys.
- 4Run the workflow once manually to verify the data flow, then toggle it to Active.
Related AI workflows
- Launch Your First AI-Powered Chatbot with Actionable Tools$9.99
- Build a WhatsApp Assistant with Memory, Google Suite, Multi-AI, Research, and Imaging$24.99
- Automate AI Video Creation and YouTube Upload with Google Sheets$14.99
- Automate Blog Post Creation and Publishing with GPT, Leonardo AI, and WordPress$14.99
- Automate SEO Keyword Generation with ChatGPT from Google Sheets$3.99
- Email Agent$500.99
More from David Olusola
Need this deployed? We'll set it up for you.
Our automation experts deploy this workflow in your stack, connect your accounts, and verify it works — or build a custom solution from scratch.