Refactor Mail delivery and add code climate to README

* Also added rspec dev dependencies with future specs in mind