simple function that intent to strip signature and history from an email to return only the content body. Its just a simple list of regexp that defines where the email need to be truncated each regexp has its own test.
npm install mailstrip
var mailstrip = require('mailstrip') , content = mailstrip(emailBody);
# build first $ cake build # run mocha $ mocha