changed incoming mail to JSON.parse(params)