SAN FRANCISCO — A Bay Area federal judge refused to let the government search a Google email account Friday and chided the Mountain View company for not living up to its pledge to push back against sweeping requests for user data.

U.S. Magistrate Judge Paul Grewal of the Northern District of California denied federal prosecutors’ application for a warrant for the Gmail account, finding the request overbroad and perhaps unconstitutional. The San Jose judge agreed in a six-page order that there was probable cause the Gmail account contained evidence of theft of government funds. But he found the government had put few limits on its request, not even narrowing down a time frame for the search. “The court is … unpersuaded that the particular seize first, search second proposed here is reasonable in the Fourth Amendment sense of the word,” he wrote.