This pull request includes changes and improvements from another forks.
The changes are:
Avoid to process the same email multiple times
Fix unread param on empty response
Add a restart function to reconnect to imap server
Enhanced logging for the new features
Pass email object to attachment event
Update mime dependency version to ^1.0.0 because mime 2.0.0 package break the API
Every commit was made by me giving the right credit to the original authors.
This pull request includes changes and improvements from another forks.
The changes are:
Avoid to process the same email multiple times Fix unread param on empty response Add a restart function to reconnect to imap server Enhanced logging for the new features Pass email object to attachment event Update mime dependency version to ^1.0.0 because mime 2.0.0 package break the API Every commit was made by me giving the right credit to the original authors.