The Puzzle Palace (1982) traces the history of the NSA: how the agency came to be organized, the power struggles around it, and its habit of collecting communications wholesale, from telegraph-era arrangements to transatlantic radio monitoring. Several see it as proof that many current practices were known long ago. It is a massive book, but described as a very good read for anyone curious about intelligence and surveillance.