Earlier quoted context omitted.
> The bigger question is whether doing that to show ads is legal or not What is the difference between "opening them" for full text search or spam filtering and "opening them" to use them for advertising?
No difference in the opening. The difference is in what they do with the data, which is what I believe the lawsuit is about.
There is no difference between opening for spam filtering from opening for ad serving