Delete Emails with Message ID

46 views
Skip to first unread message

Kristina Aiello

unread,
Dec 12, 2025, 8:49:47 AM (7 days ago) Dec 12
to GAM for Google Workspace
Hey all,

I am trying to remove a phishing email from all users' inboxes. I've used both the csv method and command with message ID, but when I run it, I get:

"getting all Users that match query (isSuspended=False), may take some time on a large Google Workspace Account...
Getting all Users that match query (isSuspended=False), may take some time on a large Google Workspace Account..."

For example, this is one of the commands I tried: gam config auto_batch_min 1 all users delete message query "rfc822msgid:<CADQdTNGdibhqLuWFHmRkCEFb...@mail.gmail.com>" doit

Thanks!

Kristina
Reply all
Reply to author
Forward
0 new messages