A Jewish Queens city councilwoman was sent a hate-filled, anti-Semitic letter that makes a reference to the Pittsburgh synagogue massacre, she told The Post on Thursday.

Councilwoman Karen Koslowitz (D-Forest Hills) opened the typed, more-than-a-page-long letter at her district office last Thursday and was disturbed by the contents.

“It has very vulgar language. I was very offended by it and taken aback, especially now with everything that’s going on,” Koslowitz said Thursday.

The letter, filled with grammatical errors, was dated Nov. 12 and mailed to 250 Broadway in Manhattan, where the City Council has hearings and officers. It begins “Dear Karen.”

“You had been defending all stinky, filthy, dirty jewish population in New York City as well as the stinks mof’s living in Israel, russia, former soviet union countries, in western European and Latin American countries,” the letter states.

A handwritten sentence included at the end of the letter refers to October’s mass shooting inside a Pittsburgh synagogue.

“What do you think about those stinky Jews killed, 11 and 4 hurt in that synagogue,” the sentence reads. “What these motherf—–r rats are doing in other states of the USA???”

Another portion of the letter states: “I do not know why AL QAEDA PATRIOTS; THE ISLAMIC STATE MILITANTS AND ISIS LEADERS had been unable to finish the work that was started in concentration camps in Poland and finished with these race of crooks, in israel, russia and most important here in the U.S.”

Koslowitz told The Post “this person who wrote this letter, he attacked me personally.”

The lawmaker — who says her grandfather was killed in Poland in 1923 because of his Jewish heritage, causing her family to flee to New York — added: “Since I am Jewish I feel he targeted me.”

“My grandfather in 1923 was killed because he was Jewish. They came to his house and they took him out and they killed him only because he was Jewish,” Koslowitz said. “That night, my grandmother, my mother and everyone else in the family, they fled Poland and came to New York. I grew up with the story.”

The letter was signed “Yours, Joe Camillieri” of Forest Hills, and the return address is steps away from Koslowitz’s office.

“I also feel that obviously he comes to the meetings,” Koslowitz said. “He knows what I talk about. I’ve been a supporter of the Bukharian Jewish community…He’s talking about meetings that I go to…It’s scary.”

The longtime councilwoman notified the NYPD of the letter she received on Wednesday and says she was told by police that it is “not a hate crime.”

An NYPD spokesman told The Post: “The letter is vile, disgusting and reprehensible, but the investigation has been thorough and a crime has not been committed at this time. We will continue to monitor it.”

Koslowitz said she disagrees about the letter not being considered a hate crime.