Unsubscribes

This branch implements a postgres-powered unsubscribe db using sqlalchemy and sha1 salted and hashed email addresses using passlib.

Anybody watching this project have some spare cycles for code review or just feedback on the general direction of this branch?

------

To setup unsubscribes, configure the DATABASE_URL, then run
$ createdb cryptobot
$ ./unsubscribe --setup

To unsubscribe an address
$ ./unsubscribe --add foo@example.com

To un-unsubscribe an address...(TODO!)

Unsubscribed emails are salted and hashed before storage. The salt is a
random string generated during database creation, then stored in the
database itself. This makes it harder for the operator to shoot
themselves in the foot, than (for instance) a param in a config file.