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

An “intimate” upcoming documentary about Madonna’s romance with a New York musician before the Material Girl was a megastar will include deeply personal letters and recordings made by the singer in bed, Page Six has learned.

The film, which follows Madonna’s relationship with fellow singer Dan Gilroy, will include private tapes of “bedroom talk” that Madge made while in the sack with Gilroy, we’re told, as well as love letters that she wrote him.

Gilroy — who fronted the one-hit-wonder pop group the Breakfast Club, and dated Madonna for around 18 months beginning in 1979 — has turned over hours of video and stacks of letters and photos to director Guy Guido for the project. The documentary “Emmy and the Breakfast Club” — which includes “re-enactments” as well as interviews — focuses on the period from 1979 to 1982, immediately before Madonna became famous, while she was living in an abandoned synagogue in Corona, Queens, with Dan and his brother, Ed Gilroy.

The in-the-works flick is set to reveal everything from “sweet little love notes that she would leave for Dan” to “very poetic love letters ­expressing her feelings for him and the struggles of their relationship,” the director said.

A 20-minute recording the couple made in bed, Guido told us, captures the pair “having fun with each other and bedroom talk, and also getting into a little philosophical life discussion.” He added that it’s “silly, romantic bantering.”

The decision to release such personal material without Madonna’s consent wasn’t taken lightly.

“There are some intimate things, but at this point they’re ready to share. Especially Dan — he’s been holding this in a very long time,” Guido told Page Six.

The director also said that while young Madonna’s relationship with Gilroy is the “meat” of the movie, it also explores her ferocious ambition and drive to make it in the music business.

Guido said he hopes to be finished working on the film by January 2017, and that a major distributor will release it.

A rep for Madonna didn’t get back to us.