<p>SAN JOSE, Calif. (AP) - Google's attorneys say their long-running practice of electronically scanning the contents of people's Gmail accounts to help sell ads is legal, and 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 email must necessarily expect that their emails will be subject to automated processing."</p>