Google has recently asked a California federal court to dismiss a proposed class action alleging that the company’s practice of scanning Gmail users e-mail for marketing data violates federal and state privacy laws, primarily the Electronic Communications Privacy Act (ECPA).

The crux of Google’s motion is that users of the company’s highly popular Gmail consent