Skip to content
No description or website provided.
CoffeeScript
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
test
.gitignore
config.json.example
package.json
read.coffee
readme.md

readme.md

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.

Something went wrong with that request. Please try again.