The newspaper says it based its report on 8,000 email messages , transcripts and records it secured after winning a lawsuit against the Pentagon .