Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 test
Octocat-spinner-32 .gitignore
Octocat-spinner-32 config.json.example
Octocat-spinner-32 package.json
Octocat-spinner-32 read.coffee
Octocat-spinner-32 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.