How do I print a users gmail messages

183 views
Skip to first unread message

Gam Admin

unread,
Mar 20, 2022, 6:04:52 PM3/20/22
to GAM for Google Workspace
How do I  print a users gmail messages to drive based on a list of message ids in a google sheet.
I found this: 
```gam <UserTypeEntity> print messages|threads [todrive <ToDriveAttribute>*] (((query <QueryGmail>) (matchlabel <LabelName>) [or|and])* [quick|notquick] [max_to_print <Number>] [includespamtrash])|(ids <MessageIDEntity>) [labelmatchpattern <RegularExpression>] [sendermatchpattern <RegularExpression>] [countsonly|positivecountsonly] [useronly] [headers all|<SMTPHeaderList>] [dateheaderformat iso|rfc2822|<String>] [dateheaderconverttimezone [<Boolean>]] [showlabels] [showbody] [showsize] [showsnippet] [showattachments [attachmentnamepattern <RegularExpression>]] [convertcrnl] [delimiter <Character>]```

But how do I customize that?

Gam Admin

unread,
Mar 20, 2022, 6:11:27 PM3/20/22
to google-ap...@googlegroups.com
What I'm trying to accomplish:
We have a user that we need to get ALL their correspondence from a certain time period, I already have a google sheet with message ID's that I got through gmail log in the GAC, now I need ALL the info and text of these messages.

--
You received this message because you are subscribed to a topic in the Google Groups "GAM for Google Workspace" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-apps-manager/VNNrrOWfra8/unsubscribe.
To unsubscribe from this group and all its topics, 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/9d220bec-d238-4a0a-8e8e-b05220380d80n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages