The NYPD brass who were booted off a flight to Afghanistan for being too drunk humiliated their department and wasted hundreds of man hours used to set up the training mission, an organizer raged in a letter to Counter-terrorism Chief James Waters.

“You and your team embarrassed the job, wasted tax payers’ money and embarrassed our NYPD Brethren,” fumed the letter-writer, a former Big Apple cop who is now a Defense Department contractor.

“I have been approach (sic) by both Coalition Personal (sic) and also Americans laughing and asking how can this behavior happen from some of the highest ranking Officers that NYPD has.”

Waters was headed to Kabul with Lt. Chris Zimmerman, commander of the hostage negotiation team, along with four other top police officers to teach counter-terrorism tactics to soldiers.

But they spent a flight delay drinking at Baltimore-Washington International Airport on Aug. 10, and had to abandon the trip altogether when crew on their military charter decided at least two of the officers were too wasted to fly, police sources said.

The top cops were only taking on a military plane in the first place because they insisted on bringing their own firearms — even though the FBI and military were happy to lend them weapons once they got there, the letter writer said.

“Your delay and continued delay of this the trip just so you could get your own firearms into theater contributed to more wasted man hours and tax payers’ money,” wrote the ex-officer, who asked The Post withhold his identity.

He said he was pulled off the investigation into the assassination of two Afghan law enforcement officers to arrange for the visit.

“To me it seems like it was amateur hour for your team and it was obvious that there was no leadership … you could not control your team [sic] urge to drink to excess,” the letter said.

The jaunt was little more than a thrill-seeking “adventure tour” photo-op set up by a four-star general who is pals with Waters anyway, the retired cop claimed.

“This was just a line on your resume for your next job ‘We went to Afghanistan to win the war,’” he berated Waters.

None of the officers involved have been disciplined for their antics, a source said — but the Deputy Commissioner of Intelligence and Counter-terrorism’s office is still investigating, according to NYPD spokesman Stephen Davis.

Captain’s Endowment Association President Roy Richter says the trip is still supposed to go ahead at a future date — but claims the officers did nothing wrong the first time around.

“I am aware of no misconduct that occurred. This was a training operation that has been delayed and will be rescheduled sometime in the future,” Richter said.