A House committee on Wednesday approved a bill that would prevent the government from conducting cybersecurity operations using email.

The bill was approved by a vote of 24-12, and now moves to the Senate, where it could be voted on for passage.

The measure would also prevent the federal government from disclosing the contents of emails sent to and from the private accounts of individuals or entities.

While the measure is expected to face a tough fight in the Senate due to a lack of Democratic support, Democrats and cybersecurity advocates have argued that it will protect the privacy of Americans and allow the government to focus on more pressing matters.