Automate personalized email campaigns with Google Docs, Sheets and SMTP
$20/month : Unlimited workflows
2500 executions/month
THE #1 IN WEB SCRAPING
Scrape any website without limits
HOSTINGER 🎉 Early Black Friday Deal
DISCOUNT 20% Try free
DISCOUNT 20%
Self-hosted n8n
Unlimited workflows - from $4.99/mo
#1 hub for scraping, AI & automation
6000+ actors - $5 credits/mo
Emailing Using Google Sheet, Google Docs, and SMTP
Automate personalized email campaigns using a Google Sheets contact list, a Google Docs template, and SMTP delivery.
How It Works
- Google Docs is used as the email template with variables:
{{firstname}},{{lastname}},{{company}},{{email}}. - Google Sheet contains your list of recipients (one per row).
- For each contact, the workflow merges personal data into the Google Docs template.
- Email is sent to each recipient via SMTP (batch size: 1). Use the
Waitnode to respect provider quotas. - After sending, the workflow updates the "process" column of the Google Sheet with the date/time.
How to Use
Copy Templates:
- Google Docs Template
- Google Sheet Template
- Find each document’s ID (the text after
/d/and before/editin the URL).
Configure Workflow:
- Enter your Google Docs and Google Sheets IDs in the
settingsnode. - Set your email subject in the appropriate parameter.
- Enter your Google Docs and Google Sheets IDs in the
Set Up Credentials:
- Connect your Google account.
- Configure the SMTP node with your mail server details.
Update Data:
- Edit the Google Docs template with your message and variables.
- Prepare your Google Sheet with these columns: email, firstname, lastname, company.
Deploy and Test:
- Connect all nodes.
- Test with a small contact batch.
- Troubleshoot any node errors (indicated in red in n8n).
Requirements
- Google Credentials & permissions: For Sheets and Docs access.
- SMTP Server: For email delivery (adjust Wait node for rate limits).
- n8n Version: Tested on 1.105.2 (Ubuntu).
Need Help?
- Comment this post or contact me on LinkedIn
- Ask in the n8n Community Forum!
See Also
After running your email campaign, some messages may fail to deliver. This workflow scans your email inbox for delivery errors (e.g., bounced messages), flags problematic email addresses in the Google Sheet and ensures future campaigns skip them.