An exclusive email reveals a prosecutor planned to file civil rights charges against an ICE agent