Submissions and emails not working