Changing post to get request for email