This is just dead wrong.

A grieving woman says a Brooklyn funeral home handling arrangements for her beloved mother sent a “thank you” message so disturbingly vile it would make Freddy Krueger cringe.

“We would like to thank you for allowing our directors to f–k the hell out of your loved one,” the heinous e-mail read. “There is nothing like a dead piece of a–.”

Pamela Johnson, 46, is now suing Grace Funeral Chapels in Brooklyn Supreme Court, claiming the nightmarish missive came from an AOL account once used by the Cypress Hills undertaker.

It arrived on May 6, two days after she first met with Grace officials to bury her 64-year-old mom, and two days before the May 8 funeral.

“How do you get past that? Even the thought of someone violating your mother . . . ,” Johnson told The Post, breaking down as she spoke.

The Middletown woman says she’s haunted by the idea that someone might have actually defiled the remains of her mom, Melinda Shaw.

“My thinking now is that it could have happened,” she said. “I was supposed to look after her, to make sure she was treated fairly, to make sure she was treated properly.”

The funeral home director said the “absolutely disgusting” message “didn’t come from here.”

“Obviously, someone hacked into our system,” Grace Funeral Chapels director Shawn King told The Post. “It didn’t come from anyone who works for me.”

King said the home has apologized to Johnson and her family and reported the suspected hacking to AOL.

“I can’t just walk away from that. I can’t,” Johnson said. “I can’t say, ‘OK, I’m going to act like it didn’t happen.’ I need answers.”

Johnson’s mother died of a massive heart attack. The Queens mother of two had worked at Kingsboro Psychiatric Center for more than 30 years as a therapist’s aide.

When Johnson confronted the North Conduit Boulevard funeral home with the jaw-dropping e-mail, she says King declared it “sabotage,” and said it hadn’t used the AOL account in months.

Johnson had no time to choose a different funeral director and was forced to hold her mother’s service there as planned.

Grace Funeral Chapel promised to investigate, but Johnson, who is acting as her own lawyer, says she has heard nothing since her mom’s funeral. She is seeking more than $85,000 in damages.

“I’m just angry and sad, so sad,” she said. “This woman protected me, and for me to give her to these people, and for them to do that to her, I don’t know. I’m praying.”