Answer
Mindy Kaling was nominated for the Emmy for Outstanding Writing in a Comedy Series for her work on The Office. She was nominated for her work on the episode "The Dinner Party", which was written by her and her writing partner, B. J. Novak. The episode was nominated for several other awards, including the Writers Guild of America Award for Best Comedy Series.