More than a year before the Trump administration granted asylum to the Afghan immigrant, the volunteer’s emails raised concerns that he was unraveling.
The C.I.A. and an Afghan intelligence official said that the shooter had been part of an Afghan “partner force,” known as a Zero Unit, trained and supported by the agency in the southern province of Kandahar.