The bath scene is very familiar to the classic Friends bath scene with Chandler and Monica from season 5 episode 2.
Mindy mentions how she once had a parasite and lost a lot of weight. This is very similar to season 5 of The Office where Mindy Kaling's character Kelly mentions she swallowed a tapeworm in order to lose weight.
A coworker dating another coworker's mother is very similar to a character arc in Season 6 of The Office when Michael, Pam's boss, dates Pam's mother. Mindy Kaling was one of the actors and writers on The Office.