fix for sendgrid
update github uri
update rails to 3.1.10