Listen on new emails on a IMAP mailbox
Needs changesNeeds changes. This template uses 1 thing(s) that n8n 3.0 removes: Convert to/from binary data. 1 breaking item(s) found. Static check, last run 2026-10-19.
What this workflow does
This workflow has 5 nodes and runs when a new email arrives over IMAP. It uses only n8n's built-in nodes.
How it runs
Trigger: When a new email arrives over IMAP.
- Move Binary Data (Convert to/from binary data): uses Convert to/from binary data
- XML: converts between XML and JSON
- Set (Edit Fields (Set)): sets or maps fields
- HTTP Request: calls an HTTP API
Before you upgrade to n8n 3.0
1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:
- Convert to/from binary data in Move Binary Data: replace with Convert to File or Extract from File.
Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).
| Removed in 3.0 | Replace with |
|---|---|
| Convert to/from binary data Move Binary Data | Convert to File or Extract from File |
Nodes used (5)
- Email Trigger (IMAP)
n8n-nodes-base.emailReadImap - Convert to/from binary data
n8n-nodes-base.moveBinaryData - XML
n8n-nodes-base.xml - HTTP Request
n8n-nodes-base.httpRequest - Edit Fields (Set)
n8n-nodes-base.set
From the author
Listen on new emails on a given IMAP mailbox. Converts the binary XML attachment to a stringified xmlproperty on the $data object and converts it to JSON. The Setnode could be replaced with Function nodes for example to do a conversion/mapping/transformation.…