Click to email this to a friend (Opens in new window)

Squabbling former spouses Bethenny Frankel and Jason Hoppy have both blamed each other’s embarrassing antics for preventing their daughter Bryn from getting into the elite Manhattan Friends Seminary Day School.

Frankel — who’s still battling her ex over custody — sniped in an e-mail to Hoppy that they’d been shunned by the private Gramercy school in 2015 because “of your cousin being incarcerated as a pedophile, your uncle’s overdose or your cousin’s identity theft.”

The details of the nasty exchange were just revealed in court.

But we’re told other parents who have been doing the school run with the “Real Housewife” at her daughter’s preschool — and suffered years of Frankel’s fame game, battling swarms of snappers — believe Frankel’s media-attention-grabbing is to blame for the elite school snub.

Sources say those parents had asked prospective nursery schools — including Friends Seminary — what “their policy on paparazzi is” in the hopes of peace and privacy for their kids.

Many believed Frankel may be tipping off paps when she was coming to get her daughter.

“Parents don’t want their kids to have to fight their way through [crowds of] paparazzi at pickup,” said an insider.

“There are plenty of much more famous people in New York — like Naomi Watts and Liev Schreiber, Michael Douglas and Catherine Zeta-Jones — who collect their kids without an army of paps. But, Bethenny just can’t do the school run without being photographed.”

The source believes Frankel is working with the paparazzi to portray her as a doting mom, citing an example of when one parent spoke to a fotog on Halloween, and was told they’d been tipped off that Frankel would arrive in costume — which she did.

But a rep for Frankel countered, “Bethenny never tipped the paparazzi to come to her daughter’s school. The paparazzi were usually camped out in that neighborhood as it is a … scene for celebs.

“Bethenny regularly does pickup and drop-off. As for the Halloween costume, she was rushing from work to pick up her daughter.”