If an employee sent the email, then the company is indeed liable, and will be deemed to have committed an act of discrimination. They may offer the defence as described above, but technically, that should not be considered as a mitigation strategy.
Shaky ground and a brave move to send such an email.