# simplified to recipientEmail: values.sendingMethod === "email" ? isEmail("Invalid email")(values.recipientEmail) : null, But still the same error