Brazilian officials say that all government employees will start using an encrypted email service in an effort to stop foreign spies from intercepting emails.

But experts question the ability of Brazil to protect its government emails from the eyes of the U.S. National Security Agency. The entire system is compromised if any user of an encrypted email sends a message to somebody on an outside program, like Gmail.

Nevertheless, Communications Minister Paulo Bernardo Silva said Monday that a new government-created encrypted email system will soon be mandatory for federal officials by the second half of next year. 

Last week, Brazil's Globo network reported that Communications Security Establishment Canada (CSEC) used phone and email metadata to map the communications of Brazil's Mines and Energy Ministry.

Leaked NSA documents have also shown that Brazil is the top Latin American target for U.S. spies. The Brazilian government is also working on developing an encrypted email service for private citizens.