{"id":2362,"date":"2017-10-26T03:32:12","date_gmt":"2017-10-26T03:32:12","guid":{"rendered":"http:\/\/microsoftgeek.com\/?p=2362"},"modified":"2017-10-26T03:32:12","modified_gmt":"2017-10-26T03:32:12","slug":"google-apps-manager-gam-delete-email-from-all-google-mailboxes-in-your-domain","status":"publish","type":"post","link":"https:\/\/microsoftgeek.com\/?p=2362","title":{"rendered":"Google Apps Manager (GAM) \u2013 delete email from all Google mailboxes in your domain"},"content":{"rendered":"<p>If you get a request to delete an email from a large number of user mailboxes or all Google mailboxes, you can run the following commands. This is useful as well when you need to remove existing SPAM from mailboxes.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><b>Delete emails from a specific sender:<\/b><\/p>\n<p>gam all users delete messages query &#8220;<a href=\"mailto:from:dse@docusgn.com\">from:dse@docusgn.com<\/a>&#8221;\u00a0maxtomodify\u00a0100\u00a0doit<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><b>Delete email threads from a specific server:<\/b><\/p>\n<p>gam all users delete threads query &#8220;from:dse@docusgn.com&#8221;\u00a0maxtodelete\u00a0100\u00a0doit<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you get a request to delete an email from a large number of user mailboxes or all Google mailboxes, you can run the following commands. This is useful as well when you need to remove existing SPAM from mailboxes. &nbsp; &nbsp; Delete emails from a specific sender: gam all users delete messages query &#8220;from:dse@docusgn.com&#8221;\u00a0maxtomodify\u00a0100\u00a0doit [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[43],"tags":[],"class_list":["post-2362","post","type-post","status-publish","format-standard","hentry","category-google-apps-for-business"],"_links":{"self":[{"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/posts\/2362","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2362"}],"version-history":[{"count":1,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/posts\/2362\/revisions"}],"predecessor-version":[{"id":2363,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/posts\/2362\/revisions\/2363"}],"wp:attachment":[{"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2362"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2362"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2362"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}