--
You received this message because you are subscribed to the Google Groups "GAM for G Suite" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/02f6f625-485a-43f7-b29d-22dacc371779%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/F0B07647-8013-4A74-89EA-F4821E1D3B06%40starnewsgroup.com.
This command is supported in Advanced GAM (https://github.com/taers232c/GAMADV-XTD3)gam all users print messages query 'from:emailaddress@domain.com'
On Sep 7, 2019, at 4:12 AM, Gil Poulsen <i...@thecoaststar.com> wrote:
Hi, hoping someone can shed some light on structuring a GAM query for email messages. I was able to find all documents that contain a particular text string by usinggam all users show filelist query "fullText contains 'search text'" todriveSo i wanted to do the same for email messages. I have tried dozens of combinations of
gam all users print messages query 'from:emailaddress@domain.com'gam all users print messages match sender 'from:emailaddress@domain.com'
etc. etc.but all error with not a valid command. I was able to use
gam all users delete messages query 'from:emailaddress@domain.com'
to determine that there were a number of messages that matched my search, but I do not want ot delete them. I want to save them to a Google Sheet, or get all their message IDs, or do something that would allow me to view them. I cannot find any matching command in the GAM Wiki to do this. Is it even possible?