improve error handling by chaining imap error events.
Merge branch 'master' of github.com:jcreigno/nodejs-mail-notifier