store email in couchdb
Clojure Shell
Switch branches/tags
Nothing to show
Latest commit 3eb49c7 Sep 18, 2010 @apage43 extra data support
Failed to load latest commit information.
src extra data support Sep 18, 2010
.gitignore Initial commit Sep 8, 2010



git clone ...
cd couchmail
cake compile 
./ &


Start a nailgun server (currently I develop with vimclojure and am lazy, so this is tied to the vimclojure nailgun server in vimclojure, but at least I pack my handy

Send email to be stored to couchdb in MIME to the couchmail.Store Nail with the nailgun client (brew install nailgun, dude).

Example .fetchmailrc: poll protocol imap user "" password "hunter2" mda "/usr/local/bin/ng couchmail.Store" ssl

couchmail.Store optionally excepts as a third parameter an aribtrary json blob to merge with imported mail. For example, to tag all mail from my work email account in a mailbag bag, I can use a fetchmailrc line like this: poll protocol imap user "" password "hunter2" mda "/usr/local/bin/ng couchmail.Store '{\x22bags\x22:[\x22work\x22]}'" ssl