"In 2004, when "The Office" producer Greg Daniels was working to adapt "The Office" from the BBC TV series of the same name, he hired Kaling as a writer-performer after reading a spec script she wrote.