A trove of emails released by WikiLeaks showed that the Hillary Clinton campaign coordinated with media outlets to promote positive stories about the Democratic presidential hopeful and give her maximum positive coverage.

Some of the emails showed:

Clinton’s campaign coordinated with the New York Times, which gave it approval on quotes for a long profile on the candidate. Times reporter Mark Leibovich ­emailed campaign communications director Jennifer Palmieri on July 7, 2015, seeking approval on the Clinton quotes.

A Boston Globe editorial writer worked with the Clinton campaign to give her a “big presence” in coverage during the candidate’s swing through the area amid the Democratic primary. Marjorie Pritchard, the Globe’s op-ed editor, emailed campaign chair John Podesta to tell him, “It would be good to get it in on Tuesday, when she is in New Hampshire. That would give her a big presence on Tuesday.”

New York Times reporter and CNBC anchor John Harwood bashed the GOP primary candidates in a December 2015 email to Podesta. After saying to Donald Trump at December 2015 debate, “Let’s be honest, is this a comic-book version of a presidential campaign?,” Harwood sent an email gloating about his query to Podesta, saying, “I imagine . . . that Obama feels some (sad) vindication at this demonstration of his years-long point about the opposition party veering off the rails.”

The emails also show the Clinton Foundation flagged requests from “FOB” (friends of Bill Clinton) or “WJC VIPs” (William Jefferson Clinton VIPs) to the State Department to offer assistance in the ­aftermath of Haiti’s 2010 earthquake.