Multiple emails are being sent every time the form is submitted