<p>SAN JOSE, Calif. Google's attorneys say the company's long-running practice of electronically scanning the contents of people's Gmail accounts to help sell ads is legal, and they have asked a federal judge to dismiss a lawsuit that seeks to stop the practice.</p><p>In a federal court hearing Thursday in San Jose, Google argued that ''all users of e-mail must necessarily expect that their e-mails will be subject to automated processing.''</p><p>The lawsuit, filed on behalf of 10 individuals, is expected to be certified as a class action and is widely seen as a precedent-setting case for other e-mail providers.</p><p>The plaintiffs say Google ''unlawfully opens up, reads, and acquires the content of people's private e-mail messages'' in violation of California's privacy laws and federal wiretapping statutes. The lawsuit notes that the company even scans messages sent to any of the 425 million active Gmail users from non-Gmail users who never agreed to the company's terms.</p><p><a href="http://www.bostonglobe.com/business/2013/09/05/google-argues-for-right-continue-scanning-gmail/6C5YjYTEC5t40JgwKKyNlO/story.html">Keep reading...</a></p>