added option to enable/disable email & database, added subject config
Merge pull request #2 from c33s/master

added option to enable/disable email & database, added subject config