Updated API to send notification emails not just from the form.