Although there are a lot of objects returned by the extracted data, we do not need all the items. We will only extract the required fields. Data cleansing is one of the essential steps in the data analysis phase. For our analysis, all we need is data for the following: subject, from, date, to, label, and thread.
Let's look at all the steps involved in data transformation in the following sections.