Fetches mail messages from imap and publish them to corriera event bus
Install the module with:
npm install imap-fetcher
var imapFetcher = require('imap-fetcher'); imapFetcher.awesome(); // "awesome"
To test the package, configure run and then grunt test. Please note the mail access configuration make use of environment for security reasons.
Before to run tests, you have to set environment variables MY_MAIL_ADDRESS and MY_MAIL_PASSWORD to the user and password of the mail account you want to use.
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using Grunt.
Copyright (c) 2013 Andrea Parodi
Licensed under the MIT license.