Correct the serlvet to get parameter from json and not from url.
Changed dependency for commons email