Mark bounced email addresses in a Google Sheet from bounce notices
Ready for 3.0Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-12-01.
What this workflow does
This workflow has 6 nodes and runs when a new email arrives over IMAP. Along the way it connects Google Sheets.
How it runs
Trigger: When a new email arrives over IMAP.
- Is it a bounce? (Filter): keeps only the items that match a condition
- Settings (Edit Fields (Set)): sets 3 fields: hard_label, soft_label, unknown_label
- Find bounced address (Code): runs custom JavaScript code
- Address found? (Filter): keeps only the items that match a condition
- Mark email as bounced (Google Sheets): update
Services it uses
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (5)
- Email Trigger (IMAP)
n8n-nodes-base.emailReadImap - Filter
n8n-nodes-base.filter - Code
n8n-nodes-base.code - Edit Fields (Set)
n8n-nodes-base.set - Google Sheets
n8n-nodes-base.googleSheets
From the author
This works on a trigger for new incoming emails in a Gmail account and helps clean up the list. - Once workflow is activated the trigger is called as per the given time interval. - This will check for new emails and run them through a condition checking the…