Convert email to json before sending to service.