email-parser

n8n community node for parsing raw email messages with mailparser.

Package Information

Released: 4 mo ago
Downloads: 19 weekly / 90 monthly
Latest Version: 0.2.1
Author: Vitali Quiering

Documentation

n8n-nodes-email-parser

n8n is a fair-code licensed workflow automation platform.

Installation
Operations
Compatibility
Resources

Installation

Follow the installation guide in the n8n community nodes documentation.

Operations

This package provides one node:

  • Email Parser parses raw RFC 822 email messages with mailparser.

Supported workflows:

  • Parse a raw email stored in a JSON field.
  • Parse a raw email stored in a binary property.
  • Return normalized metadata such as subject, sender, recipients, dates, headers, text, and HTML.
  • Optionally expose attachments as n8n binary output properties.
  • Optionally include attachment content as base64 in JSON.

Input modes

  • JSON: read the raw message from a JSON field.
  • Binary: read the raw message from a binary property.

For JSON input, the node supports:

  • Plain UTF-8 email source
  • Base64 encoded email source
  • Auto-detection between UTF-8 and base64

Output

The parsed result is written to a configurable JSON property. By default this is parsedEmail.

The node returns:

  • Core headers and addressing information
  • Text and HTML bodies
  • Normalized header map
  • Attachment metadata
  • Optional attachment binaries

Compatibility

Tested with:

  • n8n community node packaging layout

Resources

Local development

./testdata/run.sh

The script performs dependency installation and TypeScript build inside Docker, prepares a clean custom package under .testdata/custom, and starts n8nio/n8n.

Discussion