Did they get hired to have an affair or view porn on the clock? Have they been instructed what their workplace email is for and what its not for?
Nothing says they were on the clock, or viewing porn. As for the use of the email, mostly they put their own privacy at risk, which isn't a firing offense, but it is stupid.