Listen on new emails on a IMAP mailbox

Go to Workflow
7,054 views
Built by mail mail
Created on June 05, 2026

Description

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.



The JSON is ultimately sent to a HTTP Endpoint via POST.

This could be a starter for EDI purposes like receiving or transmitting XML data and conversion via JSON object property mapping.

Nodes Used (1)

HTTP Request
n8n-nodes-base.httpRequest