Updated

Thousands of emails released by the University of Colorado shed new light into the man suspected of killing 12 and wounding 58 during a midnight movie showing and the university's response to the July 22 massacre.

Shock, disgust and fear spread across the campus of the Colorado university -- the man who shot up a midnight movie was identified as James Holmes, and faculty members suspected they knew him.

As professors and others questioned what to do and feared for their safety, some shared the tidbits they knew about Holmes via email. He briefly had a girlfriend, who was in India at the time of the attack. He had a few friends, though none in the neuroscience program he'd just left.

Many of the emails are partially or completely blacked out, the university says to avoid violating privacy laws. The result is minimal information on Holmes' struggles at the school or whether the institution recognized the danger he may have represented.

Holmes' name began to circulate in news reports a few hours after the early-morning shooting and nearly seven hours after the massacre, a statewide campus police network email asked all universities to “check their records to see if they have a James Holmes.”

FOX31 Denver reports that Angie Ribera, director of the University of Colorado's neuroscience suspected Holmes may have been a student on campus, writing, “Horrible news. There are several students with the name James Holmes. This one is 24 and lives in north Aurora and makes me wonder if this is the one whom we know.”

"Do you think we should meet with students in his class?" she asked colleagues. "If they had been close to him, this would definitely be something that I think we should do. But as they were not, I do not know."

An hour later, officials confirmed James Holmes was the former graduate student, and Ribera grew more alarmed. At the time, police were trying to remove booby-traps he allegedly left at his nearby apartment before leaving for the midnight screening of "The Dark Knight Rises."

Ribera sent an email to another senior faculty member noting that Holmes was in custody. "However, he was friendly with 1-2 students in another program and I am worried about the safety of all (neuroscience) students and Faculty as well as the safety of all (medical) students."

At 8:02 a.m., the administrator of the neuroscience program broke the news to students there and urged them not to post anything to Facebook or Twitter. Campus officials quickly sought to control the flow of information. As reporters began to bombard Holmes' few acquaintance and professors with inquiries, administrators urged faculty and students to refer all media calls to a spokeswoman.

Faculty quickly began emailing with each other and friends about the news. Larry Hunter, who is listed as director of the Center for Computational Bioscience, was asked about the shooting by a friend. "Yeah, he was a grad student here, and, it turns out, had a brief romantic relationship with one of the grad students in my program last fall," Hunter wrote. "She, fortunately, it turns out is in India right now."

"She knows," Hunter added, "and is pretty freaked out."

Hunter said Wednesday he would not comment.

Holmes allegedly began stockpiling firearms and ammunition while taking classes in the spring. In June, prosecutors say, he made threats to a professor, and he filed withdrawal papers June 10 after failing a year-end exam. The next day he saw his school psychiatrist, who tried to report him to a campus security committee, according to Holmes' lawyers.

KMGH in Denver Wednesday night reported that that psychiatrist, Dr. Lynne Fenton, reached out to campus police partly because Holmes talked about killing "a lot of people" but that she opted not to place him under a psychiatric hold because he was withdrawing from the school. A spokeswoman said she could not comment on the report.

Four days after the attack, campus police chief Doug Abraham said at a news conference that campus police had no information on Holmes. The school has since declined to answer detailed questions about Holmes' behavior, citing a gag order that remains in effect and federal privacy laws that limit the amount of medical and academic information it can disclose.

Those laws also limited the number of documents released Wednesday. At the request of defense attorneys, about 100 emails between Holmes and his family and friends were withheld because they are not covered under Colorado's Open Records Act.

The remaining documents were released only after a lengthy court battle.

In correspondence from Aug. 7, an assistant professor told colleagues that he interviewed Holmes for about 30 minutes during a recruitment visit in February 2011, then noted that his evaluation of Holmes was entered into an internal university system and was still available for examination. In later correspondence, the campus director of academic support services suggested that the university was looking to get rid of that evaluation from the system.

Jim Finster, the campus director of academic support services, recalled that attorney Annalissa Philbin had "instructed me to purge those data."

"Admittedly, I have not completed that task yet, but was planning on doing it very shortly," Finster wrote in an email to Philbin. "Should I change those plans?"

It's unclear if Philbin responded, but the university's director of media relations forwarded the exchange to another attorney with a blunt message: "What??"

On Wednesday, university officials provided a later email, from Aug. 8, in which Philbin said no information should be purged at that time.

In the days after the shooting, the Arapahoe County District Attorney's office asked Judge William B. Sylvester to bar the university from releasing records requested by numerous media organizations. Prosecutors argued that the information could jeopardize Holmes' right to a fair trial. Sylvester agreed, but amended his order last month to allow the release after media organizations objected in court.

Holmes is charged with multiple first-degree murder and attempted murder counts. He has not entered a plea and won't do so until after a weeklong preliminary hearing in which prosecutors will present evidence supporting the charges. That hearing is scheduled to begin Jan. 7. A motions hearing in the case is set for Monday.

Holmes' attorneys have said he suffers from a mental illness.

Click for more from the KDVR.com