node package manager

gulp-mailparser

gulp-mailparser

Travis Build Status Circle Build Status Appveyor Build Status Build Status io.js supported

gulp-mailparser plugin for mailparser

Usage

First, install gulp-mailparser as a development dependency:

npm install --save-dev gulp-mailparser

Then, add it to your gulpfile.js:

var mailParser = require("gulp-mailparser");
 
gulp.task("mailparser",function(){
    return  gulp.src("./src/*.eml",{ buffer: false }) // streams need 
                    .pipe(mailParser())
                    .pipe(gulp.dest("./dist"))
});

API

gulp-mailparser(options)

License

MIT License