Update sendgrid library to 0.3.1