WASHINGTON — Hillary Clinton and her aides expressed displeasure when they heard controversial author Ed Klein was publishing another unflattering book about her, according to new emails released Thursday.

Klein’s name surfaced in a batch of 5,500 Clinton emails dumped by the State Department at 4 p.m. on New Year’s Eve.

“Our old Ed Klein is back with another book,” Clinton aide Philippe Reines wrote to the then-secretary of state in May 2012. “I assume . . . I can call bulls–t on him?”

“Righto — totally wacko,” Clinton responded from her account, which shows up as being from “Evergreen.”

Klein had written a book about Clinton in 2005 called “The Truth About Hillary” and a book in 2012 about President Obama called “The Amateur,” which included criticisms of both Hillary and Bill Clinton, as well as Obama.

The department said it had posted 82 percent of the ­emails that were on Hillary Clinton’s private server, but acknowledged it hadn’t completely met a court order of scheduled releases.