The F.B.I. is investigating whether employees of one of Walmart’s technology contractors obtained sensitive information by monitoring email accounts at the retail giant, including those of several executives.

The investigation into the employees of Compucom is described in an application for a search warrant filed by the F.B.I. in federal court. It was approved by a federal judge in Fayetteville, Ark., in August.

In the court filing, the F.B.I. accused the Compucom employees of sifting through internal Walmart correspondence in search of information that could give the firm an edge over competitors. In at least one instance, the filing says, the Compucom employees obtained information that may have helped the firm submit a winning bid.

A spokesman for Compucom, which was acquired by Office Depot for $1 billion in 2017, said the company was cooperating in the investigation.