WASHINGTON — Christopher A. Wray, the F.B.I. director, defended his work force in an email on Monday, a day after President Trump said on Twitter that the agency’s standing was the “worst in History” and its reputation was in “Tatters.”

In a message to the F.B.I.’s 35,000 agents and support staff that was provided to The New York Times, Mr. Wray said that he was “inspired by example after example of professionalism and dedication to justice demonstrated around the bureau. It is truly an honor to represent you.” He did not mention Mr. Trump by name.

The president’s criticism was among several recent indications of his fury over the Justice Department investigation into links between his campaign and Russia. He accused F.B.I. agents of unfair treatment of Michael T. Flynn, his former national security adviser, who pleaded guilty last week to lying to the F.B.I. In another weekend tweet, Mr. Trump said he fired Mr. Flynn for doing so.

Critics seized on that assertion as evidence that the president obstructed justice, a confession that he knew Mr. Flynn had committed a crime when, a day after firing him, he pressured the former F.B.I. director, James B. Comey, to drop the investigation into Mr. Flynn, according to testimony from Mr. Comey.