(CNN) Mindy Kaling has accused the Academy of Television Arts & Sciences of singling her out.

The actress almost missed out on being nominated about a decade ago for an Emmy for her work on "The Office" after the academy, which runs the awards show, tried to cut her from the list of the show's producers, Kaling told Elle magazine

In addition to being one of the stars of the hit NBC series, which ran for nine seasons until 2013, Kaling was also one of the writers and a co-producer.

She was also the only woman of color among the producers listed in Emmy contention, she said.

The academy told Kaling there were too many producers listed when the show was nominated for an Outstanding Comedy Series category, she said.

Read More