Read email data from the web form and send to server in JSON format

Also added basic validation to make sure all the fields in the form
are provided
Merge pull request #4 from jainanshul/test

Read email data from the web form and send to server in JSON format