Using sendgrid for delivering emails