Notification emails not sent when form is submitted using API