Having earned his spurs as Mr. Straight in the famous hospital room scene in March 2004 with the convalescing Attorney General John Ashcroft, during which the Acting Attorney General, 6'8" James Comey, refused to certify the central aspects of the National Security Agency's domestic surveillance program, there is no reason to believe he would have acted in a different manner in the present crisis. And, it seems to me, he didn't.
Having been very recently informed by FBI officers that emails from Huma Abedin, Hillary Clinton's aide, had been found on the laptop of her estranged husband. Anthony Wiener, the target of a separate investigation, and there was no time to exploit all these materials before the presidential election, Comey elected to inform the Congress at least of the existence of this trove; thus he could not be accused by the Donald Trump camp of seeking to manipulate the situation in favor of Hillary Clinton days before the election. So he made the call to divulge the fact of the emails before there was time to exploit them prior to the election. What's wrong with that?