updating for taking simple params; pass your json and email now in the params hash