To be fair, Comry was in a lose/lose situation.  If he didn't inform Congress about the emails, he'd have been seen as supporting Clinton.  When he did, he was seen as supporting Trump -- or at least, opposing Clinton.