In a defiant email Friday night, James Dennehy, the top agent in the New York field office, warned his staff that the F.B.I. was “in the middle of a battle of our own.” Praising Mr.