Writing 'The Office' Greg Daniels and Mindy Kaling work on the hit NBC series The Office, starring Steve Carrell. Kaling also plays Kelly on the show. Daniels has a history of TV comedy writing. He has worked on Saturday Night Live, Seinfeld and The Simpsons. Kaling had a role in Carrell's The 40-Year-Old Virgin and appeared on an episode of HBO's Curb Your Enthusiasm.