0

I've been given the task of searching our company emails for emails that were sent to 10+ recipients, to check for accidentally included mailing lists.

However, I've checked all the documentation I can find about how search works in Gmail and I can find many, many, many articles talking about how to filter by specific recipients, but none of them cover the opposite: How to search for a quantity of ambiguous recipients.

Does anyone know how this can be done?

Maybe something like:

to: * AND * AND * AND * AND * OR *

OR

to:(qty > 10)

?

0

You can use the AND operator like this:

to:personA AND to:personB

I can narrow it down by using subject, cc, bcc and other options available there. See this reference.

1
  • I'm aware of that, the problem is that I don't know who "personA" and "personB" are, I need to search for any email that was sent to any 10+ recipients Jul 28 at 18:43
0

You cannot perform wildcard (*) searches in Gmail, nor can you search based on quantity.

You could however use Google Apps Script to go through your sent items and identify any sent messages that include 10+ recipients.

Then it could, for example, apply a label to any it identifies that you could use as a filter.

You could also using Google Apps Script create a spreadsheet report of the identified emails with the subjects, date, and their recipient lists for review.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.