Robert F. Kennedy Jr. kept a list of dozens of women filed under the letter “G” in his cellphone, a code that his late wife believed stood for “goomah,” the Italian slang for mistress.

Two of the women listed in this digital black book factor into what should be an interesting summer for the environmental activist and son of the slain US senator.

The first is “Curb Your Enthusiasm” actress Cheryl Hines, whom Kennedy began dating the year they both filed for divorce. The two plan to wed soon.

The other is Greenwich, Conn., homemaker Chelsea Chapman Kirwan, who has been romantically linked to Kennedy in her headline-grabbing divorce battle.

Kennedy’s late wife, Mary Richardson, shared several lists of suspected “other women” with a friend two months before she committed suicide in May 2012.

There were so many women, some with the same first names, that they had to be distinguished by profession or city.

While Kennedy didn’t have a gal in every port, he did seem to have friends in many places. At least five women were from Toronto; one was in Paris; others were in Palm Beach, Fla., Alaska, Aspen, Colo., Miami, Montreal, Cleveland and Pensacola, Fla. One woman had the notation “airplane” after her name, another “farm,” and another “teacher.” One was cryptically known as “Z.”

Richardson believed her philandering husband also used aliases to hide his own identity when traveling. “Robert Strong” was a favorite pseudonym, she told her friend.

Cheryl Hines and Robert F. Kennedy Jr. take in the Independence Day celebrations in Hyannis Port.Photo: Splash News

The couple, who had married in 1994, was in the midst of a nasty divorce when Richardson, 52, hanged herself at their home in Bedford, Westchester County. She suffered from depression and struggled with alcoholism.

Kennedy’s name was dragged into another divorce battle last month when he was alleged to be the “other man” in Kirwan’s divorce from plastic surgeon Laurence Kirwan.

Laurence Kirwan believed his 42-year-old wife was having an affair with Kennedy, whom she met at a Westchester gym, a confidant of the surgeon told The Post. The couple separated in July 2012, but Laurence Kirwan believed the relationship began several months earlier, while Richardson was still alive, the friend said.

Cellphone records showed Chelsea Kirwan and Kennedy spoke five times a day in the summer of 2012, according to the friend, who said Kennedy, 60, could be called as a witness in the divorce case.

Chelsea Kirwan is supposed to testify on July 22 in a Stamford, Conn., court hearing.

Her name and number were copied off Kennedy’s Sprint Samsung phone by Richardson.

When contacted by The Post, the mother of four asked to know where her name fell on the list and whether there was any notation beside it.

She would not comment about her relationship with Kennedy.

There were 43 names and numbers on the “G” list, which was alphabetical by first name. Another list had names but no phone numbers.

Several women on the roster contacted by The Post said they had met Kennedy through his work as an environmental lawyer and activist.

My greatest defect … my lust demons … You have not the strength to resist their charms. - Robert F. Kennedy Jr., in 2001 journal

One woman described Kennedy as a “big flirt” and said Richardson was suspicious of her. Another called Kennedy a “charming and talented man” but said they had not been romantic.

Kennedy had a history of meticulously documenting his conquests, keeping notes of women’s names in the back of annual ledgers along with numbers from 1 to 10. Richardson told a friend that the numbers referred to sexual acts, with 10 being intercourse.

On some days, Kennedy listed the names of two or three women. On other days, he wrote “victory,” which meant he avoided temptation.

In his 2001 journal, Kennedy often portrayed himself as a victim, saying he was “mugged” by women. In one instance, he wrote that he “narrowly escaped being mugged” by a team of two women.

“It was tempting but I prayed and God gave me the strength to say no,” he wrote.

He wrote on May 21, 2001, that he “got mugged on my way home” from Manhattan and noted the name of a woman with a 10 next to it.

That year, Kennedy wrote of struggling with “my greatest defect . . . my lust demons.” He wrote that he had to “avoid the company of women. You have not the strength to resist their charms.”

RFK Jr. and his wife, Mary, in 2010Photo: ZUMAPRESS

But it’s clear that Kennedy’s struggles continued.

His late wife told her friend that when the couple was seeing Manhattan therapist Sheenah Hankin in 2006, Kennedy went through a “process of disclosure” and spilled the names of dozens of women with whom he had affairs. Richardson thought that by 2012, that number had increased exponentially.

Hankin confirmed that Richardson was her client at the time but would not comment on “confidential information obtained from clients.”

Kennedy, through a spokesman, refused to comment.

He said last year that the 2001 diary “served as a tool for self-examination and for dealing with my spiritual struggles at the time. It also contains unedited, unfiltered stream-of-consciousness musings about current events and people.”

Kennedy and Hines were engaged in May and, The Post reported, are to be married at the Kennedy family’s annual summer reunion in Hyannis Port, Mass. His late wife is buried little more than two miles away from the famous family compound.

Kennedy has six children, four with Richardson and two from his first marriage. Hines has a 9-year-old daughter from a previous relationship.