letter-opener
Turn .eml files into usable domain objects.
Installation
$ npm install letter-opener
Quick Start
var letterOpener = require('letter-opener')
var core = new letterOpener('tmp')
core.findMessage(id, function gotMessage(err, message) {
})
core.findAllMessages(function allMessages(err, messageFiles) {
})
Running Tests
To run the test suite, first invoke the following command within the repo, installing the development dependencies:
$ npm install
Then run the tests:
$ npm test
Contributors
Author: Ethan Garofolo
License
MIT