How to parse .eml files?

We want to parse .eml files and get the URL, Domains, Attachments from the file and attach it to Thehive.

Cortex eml parser is not showing the result back in n8n and external parsers are costly to buy.

How can we parse the .eml files?

Installation: Docker self hosted in RHEL
Version: 0.202

This is our workflow:

Hey @saikatdas,

I am not sure if one of the nodes we have will handle that but it could be a case of using the Code node and importing an NPM package that can do it.

Hi @saikatdas , you may want to take a look at Mailparser :: Nodemailer