printing details about each email