Modified database.yml file to remove some unnecessary lines for production, and added if statement to mail.rake that tells it when to run