Scroll to bottom of page for installation/downloads
Latest updates
6.28.01
Fixed bug in gam forward message|thread
where subject was blanked out.
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
4da74c4c59a5b49efb4d7f228e0a907667f8e4e066a28406fc0b71ea2dee0b27 gamadv-xtd3-6.28.01-linux-arm64-glibc2.23.tar.xz
9417d8865f4a8efd012285e7e8434798fc2bf37e360c3a4357912d72507b0772 gamadv-xtd3-6.28.01-linux-arm64-glibc2.27.tar.xz
dee8a658adaec1531a47a5f6a8ef973554d7f5a3384a494ec1c9ca59e0deda88 gamadv-xtd3-6.28.01-linux-arm64-glibc2.31.tar.xz
92141f52f7a55e63faede18b72af0a72086c6ca540e47c4b67ebb57161025759 gamadv-xtd3-6.28.01-linux-x86_64-glibc2.19.tar.xz
9947c9690e25c769860bbca0cffea739e4e9690e55cad80a470fa692b2a8aeed gamadv-xtd3-6.28.01-linux-x86_64-glibc2.23.tar.xz
622918f52e5e6d6b29c3b82efd5058ff847ccc3a972015bea2789648b8d36b36 gamadv-xtd3-6.28.01-linux-x86_64-glibc2.27.tar.xz
72c4d73cade5259ec0af2ae349aeb99dd74259207a1fcd8cc3a8e7639d4ebd92 gamadv-xtd3-6.28.01-linux-x86_64-glibc2.31.tar.xz
22745b0b439d8dec9f08104f506f316a589456a5f99f2777fdce1701359e4173 gamadv-xtd3-6.28.01-linux-x86_64-glibc2.35.tar.xz
ef4b878bf796660102332cdc466b38fe0ac11d6ff3b5380e8aea61fc69669942 gamadv-xtd3-6.28.01-linux-x86_64-legacy.tar.xz
1657549e5d12b9d055b834694ec22137d3a95b6e7e5fd90bd3a6e8053020e2b5 gamadv-xtd3-6.28.01-macos-universal2.tar.xz
a197bc5b88a4920e884278f7d7e247a595f0ac2629b9ec7b3538e6f4373b10df gamadv-xtd3-6.28.01-macos-x86_64.tar
2b1ee0e27824a605e97a3f4a7284057586ebde5ff355befe4eb16be9234b2ef2 gamadv-xtd3-6.28.01-windows-x86.msi
490e97f366fc199b076d290a3c6ca84ce51f3f0dcec456ea033caf8023963185 gamadv-xtd3-6.28.01-windows-x86.zip
42489f47aedef5adc05d4948b73a36ed3f9f27bdaf44ec50dce61d49dc0c46ef gamadv-xtd3-6.28.01-windows-x86_64.msi
476f9cadd26873495a7d79f23a3e0d9a4495b620e0e74a7b0d4b4b80201dce4b gamadv-xtd3-6.28.01-windows-x86_64.zip