Emails released Tuesday night illustrate the remarkably close relationship between EPA head Scott Pruitt and the oil and gas industry while he served as Oklahoma’s attorney general. The emails were made public as the result of a lawsuit and open records request by the Center for Media and Democracy only days after Pruitt was confirmed to lead an agency he has long fought to undermine.

The 7,500 documents reveal a new example of oil and gas industry operatives drafting and editing text Pruitt submitted to a federal agency, and they show how Oklahoma Gas & Electric and American Electric Power, both of which contributed to Pruitt’s election campaigns, reviewed documents pertaining to at least one rule affecting utility rates.

The emails contain thousands of references to and communications with the Oklahoma Council of Public Affairs, which has ties to ALEC, the conservative group that drafts “model” pro-business legislation. Pruitt’s office seemed to operate in conjunction with the council, which helped coordinate press for the attorney general and regularly released his blog posts on their newsletter, “Freedom Flash.” So after Pruitt appeared on Fox News in November 2013, for instance, OCPA’s Jonathan Small emailed Aaron Cooper, who was Pruitt’s director of public affairs, to tell him he was going to turn the video into a blog and “freedom flash it out.”

The emails also show employees’ attempts to make the work of the attorney general’s office confidential. “Don’t forget to take our name off our appearance,” reads one email from Oklahoma Assistant Attorney General Nicole King. Another email sent to three people in the attorney general’s office reads, “As you will see there is some confidential and highly sensitive confidential information. I am working on a confidentiality agreement based on what the Commission has been approving.”

In keeping with this effort to keep Pruitt’s communications private, the Oklahoma Attorney General’s Office still has not released all the emails the Center for Media and Democracy first requested more than two years ago. Even after Oklahoma Judge Aletia Haynes Timmons criticized the office for its “abject failure” to follow the open records law, the AG’s office withheld an unspecified number of documents on the grounds that they were privileged. Many of those that it did release were redacted. Judge Timmons ruled that the attorney general’s office has to supply additional records by February 27.