Fixing smtp variables to work with Sendgrid