fixed a problem with production env
more minor tweaks for heroku
added a mailer for reviews. [finishes #77987228]