mailparser

Package Information

Released: 6/7/2025
Downloads: 0 weekly / 0 monthly
Latest Version: 0.1.0
Author: yudhaputrama

Documentation

n8n-nodes-mailparser

This package provides an n8n node for parsing email data using the mailparser library. It can parse raw email content into structured data including headers, body content, and attachments.

Installation

Local installation

To install this node locally:

cd ~/.n8n/custom
npm install @yudhaputrama/n8n-nodes-mailparser

Self-hosted installation

To install in your self-hosted n8n instance:

  1. Go to Settings > Community Nodes
  2. Click "Install" button
  3. Enter package name: @yudhaputrama/n8n-nodes-mailparser
  4. Click "Install"

Usage

  1. Add the MailParser node to your workflow
  2. Connect it to a node that provides raw email data
  3. Set the 'Email Field' to specify which input field contains the raw email
  4. The node will parse the email and output structured data including:
    • Subject
    • From/To/CC/BCC
    • Message body (HTML and text)
    • Attachments
    • Message ID and references
    • Dates and headers

Requirements

  • n8n (version 1.0.0 or later)
  • Node.js (version 20 or later)

License

MIT

Discussion