I have a simple function that returns a status and some JSON. With the form input I am saving user data to the Db and at the same time Sending the email message to that user