One of Hillary Clinton’s closest allies was so furious at the political mess caused by her private e-mail server that she wanted the person responsible for approving it “drawn and quartered.”

“Do we actually know who told Hillary she could use a private email?” Neera Tanden wrote to Clinton campaign chair John Podesta on July 25, 2015.

“And has that person been drawn and quartered? Like whole thing is f—ing insane,” added Tanden, a former Clinton aide and now president of the progressive Center for American Progress.

Other hacked emails — released by Wikleaks — showed that Clinton’s closest aides initially didn’t grasp that her e-mail practices would become a major campaign issue.

Podesta emailed campaign manager Robby Mook after the first story broke to ask whether anyone saw it coming.

“Did you have any idea of the depth of this story?” Podesta wrote in a March 2, 2015 email to Mook.

“Nope,” Mook replied. “We brought up the existence of emails in research this summer but were told that everything was take care of.”

Research appears to refer to pre-campaign vetting professional organizations undertake to be ready for negative stories that may effect their candidate.