It would present an "opportunity" for spy agencies if the foreign minister of Russia or Iran were to use a private email server for official business, the chief of the U.S. National Security Agency said on Thursday.