Hillary Clinton slammed former FBI director James Comey — who investigated her use of a private email server on government business — for using a personal email to conduct FBI business.

“But my emails,” Clinton tweeted — playing off the “but her emails” refrain routinely invoked by conservatives who said Clinton’s use of a private email server while Secretary of State precluded her from the White House.

Justice Department Inspector General Michael E. Horowitz revealed in a report Thursday that Comey used a personal Gmail account to conduct agency business on five occasions — a violation of regulations.

Comey investigated Clinton’s use of the email server, closed the probe, and then reopened it 11 days before the 2016 presidential election after some of her emails were found on a computer belonging to disgraced perv-pol Anthony Weiner, whose wife Huma Abedin worked on Clinton’s campaign.