Use this command for only one file:
node parse.js -i /inPath/to/email.eml -o /outPath/to/email.html
Or add the flag -d for extract html from all files inside the directory:
node parse.js -d -i /inPath/to/ -o /outPath/to/
In this case the out files always has the same name of the input files with HTML extension.