Added test web service
More work on submitEmail function