Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 512 Bytes

readme.md

File metadata and controls

29 lines (20 loc) · 512 Bytes

IMAP + Webhook Spike

Spike of posting emails from an imap server to a webservice.

Running It

Edit config.json to include your actual credentials

From the project dir:

$ npm install 

then

$ coffee getit

Tests

Tests can be ran by typing

mocha -t 10000

The -t option is needed because the initial hookup to gmail seems to take awhile so we give the test 10 seconds to do its thing. Test assumes that config.json points to the url http://localhost:3001/example.