Tested support for email provider Sendgrid

Also updated the code to respond with HTTP status codes
Merge pull request #8 from jainanshul/test

Tested support for email provider Sendgrid