Hundreds of pages of confidential emails help lift the lid on what went on behind closed doors at the local authority.