The Prime Minister's department refused to release emails, referring to an investigation into a possible breach of the law.