Added failure case to mail form.