Scroll to bottom of page for installation/downloads
Latest updates
6.28.00
- Upgraded to Python 3.11.0 where possible.
- Upgraded to OpenSSL 3.0.7 where possible.
Fixed bug in gam forward message
where messages originally sent to multiple recipients
were not forwarded correctly.
Added command to forward threads; all messages referenced by the thread are forwarded; this is experimental, test.
gam <UserTypeEntity> forward thread|threads recipient|to <RecipientEntity>
(((query <QueryGmail>) (matchlabel <LabelName>) [or|and])+
[quick|notquick] [doit] [max_to_forward <Number>])|(ids <MessageIDEntity>)
[subject <String>]
6.27.21
Eliminated superfluous column header labels
in gam print cigroups
.
Added command to forward messages; this is experimental, test.
gam <UserTypeEntity> forward message|messages recipient|to <RecipientEntity>
(((query <QueryGmail>) (matchlabel <LabelName>) [or|and])+
[quick|notquick] [doit] [max_to_forward <Number>])|(ids <MessageIDEntity>)
6.27.20
Added option url <URL>
to gam <UserTypeEntity> create|update drivefile
that allows
GAM to upload files referenced by URL
to Google Drive.
Added csv_input_row_limit
variable to gam.cfg
that is used to limit the number of rows read from a CSV file.
Added csv_output_row_limit
variable to gam.cfg
that is used to limit the number of rows written to a CSV file.
6.27.19
Added option embedimage <FileName> <String>
to the following commands that allows
embedding images in HTML email messages.
gam sendemail [recipient|to] <RecipientEntity>
gam <UserTypeEntity> sendemail recipient|to <RecipientEntity>
gam <UserTypeEntity> sendemail from <EmailAddress>
gam <UserTypeEntity> draft|import|insert message
Your HTML message will contain lines like this:
<img src="cid:image1"/>
<img src="cid:image2"/>
Your command line will have: embedimage file1.jpg image1
embedimage file2.jpg image2`
Added archive
as a synonym for archived
and suspend
as a synonym for suspended
in <UserBasicAttribute>
.
6.27.18
Added option tdshare <EmailAddress> commenter|reader|writer
to <ToDriveAttribute>
. When a new
todrive file is created, i.e., tdfileid <DriveFileID>
is not specified, the uploaded file will
be shared as specified. <EmailAddress>
must be valid within your Google Workspace.
6.27.17
Updated todrive tdfileid <DriveFileID>
to display an informative error message when Google generates
an Internal Error
. It appears that the file was successfully uploaded and converted to a sheet but
the conversion took longer that the API was willing to wait, so it generated the error.
6.27.16
Updated todrive tdfileid <DriveFileID>
to not perform retries for Internal Error
when updating an existing file
as the 6.27.15 update didn't fix the underlying problem.
6.27.15
Fixed bug in gam show chromeschemas
that caused a trap due to unexpected data from Google.
Updated gam <UserTypeEntity> collect orphans
to handle the error:
ERROR: 403: shortcutTargetInvalid - The specified file is not an allowed shortcut target type.
These are typically Google Backup & Sync images of laptops.
Fixed bug in gam <UserTypeEntity> sendemail from <EmailAddress>
that reported:
User: user@domain.com, Send Email to 0 Recipients
Updated todrive tdfileid <DriveFileID>
to perform retries for Internal Error
when updating an existing file.
Added option noselfowner
to all commands that print or show calendar ACls;
it suppresses the display of ACLs that reference the calendar itself as its owner.
6.27.14
Extended gam print addresses
to include information about domains and resource calendars.
A new column Target
was added that displays target information for user, group and domain aliases.
6.27.13
Added option showdate
to gam <UserTypeEntity> print|show messages|threads
that displays
the internalDate
field for a message|thread.
The internal message creation timestamp (epoch ms), which determines ordering in the inbox.
For normal SMTP-received email, this represents the time the message was originally accepted by Google,
which is more reliable than the Date header.
6.27.12
Added option labellist <LabelNameEntity>
to gam <UserTypeEntity> print|show labels
to allow selection of labels to display.
Added option cigrouptree
to gam info user
. Previously, the grouptree
option used
the Cloud Identity Groups API to display the users group tree structure. This API is licensed
and the command would generate an error if you didn't have the license. Now, the grouptree
option
uses the Directory API and the cigrouptree
option uses the Cloud Identity Groups API.
Updated gam <UserTypeEntity> collect orphans
to not use shortcuts by default.
If an orphan file can have its parent changed without affecting its access by other users, the parent is changed.
If a parent change would affect the access by other users, a shortcut is created. You can still use
the useshortcuts true
option to force the use of shortcuts. If you specify the preview
option,
a new column, action
, shows changeParent
or createShortcut
to indicate what action will be taken
when preview
is omitted.
6.27.11
Added options showparentsaslist [<Boolean>]
and delimiter <Character>
to gam print grouptree
and
gam <UserTypeEntity> print grouptree
that display the group parent emails and names in two columns
as delimited lists rather than multiple indexed columns.
Added options downloadattempts <Integer>
and retryinterval <Integer>
to gam download vaultexport
that cause GAM to wait for a vault export to be completed. By default, GAM makes only one download attempt.
If multiple attempts are specified with downloadattempts <Integer>
, GAM waits retryinterval <Integer>
seconds
between attempts; the default retry interval is 30 seconds.
6.27.10
Added command gam <UserTypeEntity> print|show grouptree
to display a user's groups and their parent groups.
6.27.09
Corrected JSON output in gam <UserTypeEntity> print userlist
.
6.27.08
Added command gam <UserTypeEntity> print userlist
to display the list of users in <UserTypeEntity>
in a single row.
6.27.07
Fixed bug introduced in 6.27.06 that caused commands that get a list of groups for a specific user to fail;
e.g., gam info user user@domain.com
.
6.27.06
Fixed bug in gam print addresses
where no output was generated.
Updated multiprocessing to fix issues on Mac OS where excuting commands from a CSV file would
hang if the number of threads was 20 or greater.
6.27.05
Updated gam create vaultexport
to handle the following error that occurs when the
region
option is specified but is not allowed by your licenses.
ERROR: 400: invalidArgument - Request contains an invalid argument.
6.27.04
Updated gam download vaultexport
to replace :
with -
in the download filename to avoid
issues on Windows.
6.27.03
Fixed update in 6.27.01 to allow empty resource calendar feature lists.
6.27.02
Added options labelinfo
and <DriveLabelInfoSubfieldName>
to <DriveFieldName>
and
option includelabels <DriveLabelIDList>
to gam <UserTypeEntity> show fileinfo
and
gam <UserTypeEntity> print filelist
to allow easier access to display drive file labels.
This options do not require an extra API call like the showlabels details|ids
option does.
gam user user@domain.com show fileinfo 1kM4T2K4l0CCdR8lmp0pdXcytghAzXZ2fe5ThQpDwxyz fields id,name,mimetype,labelinfo includelabels "mRoha85IbwCRl490E00xGLvBsSbkwIiuZ6PRNNEbbFcb"
gam user user@domain.com show fileinfo query "'labels/mRoha85IbwCRl490E00xGLvBsSbkwIiuZ6PRNNEbbFcb' in labels" fields id,name,mimetype,labelinfo.fields includelabels "mRoha85IbwCRl490E00xGLvBsSbkwIiuZ6PRNNEbbFcb"
6.27.01
Updated <ResourceAttribute>
to allow features ""
for resources.
6.27.00
Updated code to use Python yield functionality when downloading long lists of items from Google APIs.
Installation
If you are a first time Gam user:
If you are upgrading from standard Gam
If you are upgrading from GAMADV-X or GAMADV-XTD
sha256 hashes
3f4764b9afb7020b6abda9badf7222465eaecfb8a073c970b8031044deb49827 gamadv-xtd3-6.28.00-linux-arm64-glibc2.23.tar.xz
df07e21b7577f84c84edb482bbe7b4ff41c9ee3a32b471e2577dd0603f26589b gamadv-xtd3-6.28.00-linux-arm64-glibc2.27.tar.xz
67751955437ca160025802d5609f6e4d554ed80346ca99815bcb8ea4aa7ba54f gamadv-xtd3-6.28.00-linux-arm64-glibc2.31.tar.xz
c7f7a3873d1f19061c2fc9966d3d1fb2de0641bcbf1c7c2e7a9ad09e17f43ef9 gamadv-xtd3-6.28.00-linux-x86_64-glibc2.19.tar.xz
6d2c10f4757b7d35745a70db3e2d388923ae5937f1a6c373e0af861810a252ba gamadv-xtd3-6.28.00-linux-x86_64-glibc2.23.tar.xz
e4b61d2d4ca085502edb706da9413adf3df3a8989506aae807da40aa7c30faf4 gamadv-xtd3-6.28.00-linux-x86_64-glibc2.27.tar.xz
976510be46d65dfc899c19c9d851d323a145adb6d6a0c3b273e3294d9be089e6 gamadv-xtd3-6.28.00-linux-x86_64-glibc2.31.tar.xz
896de69b7d28f8e677dcd696b9ab840303b6c8e29e9a7d24057d1b5f1cca8acc gamadv-xtd3-6.28.00-linux-x86_64-glibc2.35.tar.xz
6d0b1236db1d0056c4126c7bff0e77b7c1352f9eed00b0d6efabe060dc22dc4c gamadv-xtd3-6.28.00-linux-x86_64-legacy.tar.xz
b9a556a4e1ac0fb03ea988d0adc2a22129b62e867995edf65d4554f6ea11b2c1 gamadv-xtd3-6.28.00-macos-universal2.tar.xz
865650dc8bafe9bdabc2b72f19082d25507d918bfc152d6a0de129a00c8584e8 gamadv-xtd3-6.28.00-macos-x86_64.tar
743164dac321f5f2ab24b3ab7f4ec1a03ce36a801b48573532bc80ae7189cdd5 gamadv-xtd3-6.28.00-windows-x86.msi
041c24fa6ee0b6e57622c338b3b796d06cc2d5e7dff179ddf0ce12035f1f7326 gamadv-xtd3-6.28.00-windows-x86.zip
01c408d43d2d22cae220bb0bc0fc3f643fc35171d6cbcce58991e7be709dc550 gamadv-xtd3-6.28.00-windows-x86_64.msi
71d0c3c183cd93dfcb35eafa41fc82543e6c0a33fdbd3edb0d1037b07b9fbd54 gamadv-xtd3-6.28.00-windows-x86_64.zip