Rb changes emails

adds a couple of missed things (like tests) and updates email config to run properly on heroku production env