Hacking mailer to work with sendgrid