Improved sendgrid email driver