EML icon

EML

Node to work with EML files

Actions2

EML → Parse EML

AI-generated

Overview

This node processes EML (email) content by parsing it to extract useful information. It is beneficial for workflows that need to analyze or manipulate email data, such as extracting headers, body content, or attachments from raw EML files. For example, it can be used to automate email processing, extract metadata for logging, or handle email attachments programmatically.

Use Case Examples

  1. Parsing raw EML content to extract specific email headers and body text for further processing.
  2. Extracting attachments from an EML file and saving them as binary data for use in other workflow steps.

Properties

Name Meaning
EML Content (RFC822) The raw EML content to be parsed, provided as a string.
Output All Headers A boolean flag indicating whether to include all email headers in the output.
Headers to Output A comma-separated list of specific headers to include in the output when 'Output All Headers' is false.
Include Attachments A boolean flag indicating whether to include email attachments in the output as binary data.

Output

JSON

  • headers - Parsed email headers, either all or selected based on input settings.
  • body - The main content/body of the email extracted from the EML.
  • attachments - Attachments extracted from the email, included as binary data if enabled.

Dependencies

  • Requires parsing logic and utilities for EML processing, likely included in the node's internal implementation or dependencies.

Troubleshooting

  • Common issues include malformed or incomplete EML content causing parsing errors.
  • If 'Output All Headers' is false and no headers are specified, no headers will be included in the output, which might be unexpected.
  • Attachments may not be included if the 'Include Attachments' option is not enabled, even if the email contains attachments.

Discussion