Ultimately Congress should have written the law more carefully. It's their job to balance the various concerns of the government; effectiveness of their law enforcement vs. civil liberties. The FBI's job is only to investigate to the maximum extent of the law, and the email was just reminding people of that.
Every branch of the government has a duty to uphold the constitution including its protections. Further the constitution is the law suggesting it’s only their responsibility to uphold some laws is the root of a great number of issues.
> Ultimately Congress should have written the law more carefully.
That's not how the clandestine agencies like Congress to write laws though. They love to live in the spaces and gray areas created by vaguely written laws.
Whenever these laws are debated and people point out various ways in which they could be abused, Congress says that those are obviously far-fetched and the powers that are being given will be used in reasonable ways.
This email just goes to show what this actually means in practice.