Parse raw email data