Brazil is moving to create a more secure form of email communications, with Brazilian President Dilma Rousseff revealing the order over Twitter.
Rousseff said (translated from Portuguese) that the nation's data processing company, Serpro, would be responsible for ensuring that emails sent throughout the federal government would be secure, private, free from any possible espionage, and ensure the "inviolability of official messages".
Serpro is already offering cloud services to government departments and agencies.
The country's Communications Minister Paulo Bernardo is on the record as previously asking the US government to explain its actions after documents leaked by whistleblower Edward Snowden showed that Brazilian communications were also the subject of surveillance by the US National Security Agency (NSA). The US is not expected to respond to these queries, but it is understood that a police investigation into whether the Brazilian government worked with the NSA is already under way.
Brazil's reputation in internet freedom rankings has slipped from free to partly free in the past year, due to controversial developments that have included the possible banning of Facebook in the country.