node-reply-worker
An email reply worker that listens to new emails and emits an event every time an email with an id arrives.
This works with plus addressing, for example, if you have the email address jonh@example.com
, you can add +<something>
before the @ sign, like jonh+123@example.com
. Most mail servers support this feature, but if you are not sure, you can check by sending and email as described.
Install
npm install node-reply-worker --save
Usage
var ReplyWorker = ;var inspect = inspect; var worker = mailAddress: /* Your email address */ mailPassword: /* Your email password */ stripMessages: /* Removes replied messages and signatures */ checkInterval: /* Interval in minutes to check for new messages, default: 10 */ imapConnection: host: /* Server address */ port: /* Server port, default: 993 */ tls: /* Use tls, default: true */ ; worker; workerstart;