upgraded rails. added sendgrid to prd