The coffee shop in the beginning of this episode is the same coffee shop from You've Got Mail.
The song used at the opening is from the 1970 musical "Company" with music and lyrics by Stephen Sondheim and book by George Furth. The original production was nominated for a record-setting fourteen Tony Awards and won six.