Export list of the size of email messages

77 views
Skip to first unread message

Tom Robinson

unread,
Oct 9, 2023, 6:04:29 PM10/9/23
to GAM for Google Workspace
How do I export a list of the size of every email message within a certain timeframe, say within 10/2 and 10/6?

We are trying to calculate the average email message size sent to and from our domain on a business day. 

Thank you in advanced

Ross Scroggs

unread,
Oct 9, 2023, 8:10:05 PM10/9/23
to google-ap...@googlegroups.com
Tom,



Here's an example for one user:  replace us...@domain.com with an actual address
gam redirect csv ./MailMessages.csv user us...@domain.com print messages query "after:2023-10-02 before:2023-10-07" showsize headers from,to,date
Total the sizeEstimate column

For all users:
gam config auto_batch_min 1 num_threads 10 redirect csv ./MailMessages.csv multiprocess all users print messages query "after:2023-10-02 before:2023-10-07" showsize headers from,to,date
Total the sizeEstimate column

Ross
----
Ross Scroggs



--
You received this message because you are subscribed to the Google Groups "GAM for Google Workspace" 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/1de1d952-15ff-40c9-a7e3-9226d0fc067an%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages