Added connection to mongo database to get item details for email