The government refused to release emails between the prime minister's office and the Intelligence and Security Commission in the run up to the general election