Simplifying MongoDB connection information into mongodbUri
Don't attempt to send mail if upcomingEpisode is undefined