Setup of scheduler for heroku, and fix production sendgrid settings