Scroll to bottom of page for installation/downloads
Latest updates
6.28.05
Added the following items to <UserMultiAttribute>
:
employeeid <String>
as a synonym forexternalids organization <String>
manager <String>
as a synonym forrelations manager <String>
Added the following items to <UserFieldName>
:
employeeid
as a synonym forexternalids
manager
as a synonym forrelations
6.28.04
Added filtercontactgroup <PeopleContactGroupItem>
to <PeoplePrintShowUserContactSelection>
that is used by gam <UserTypeEntity> print|show contacts
. When selectcontactgroup <PeopleContactGroupItem>
is used in these commands, GAM makes an API call to get the list of contacts in <PeopleContactGroupItem>
and then makes an API call per contact to get the details; this may exceed quota limits.
When filtercontactgroup <PeopleContactGroupItem>
is used, GAM makes an API call to get all contacts and
then filters the list to only those in <PeopleContactGroupItem>
; quota limits should not apply.
6.28.03
Build MacOS x86_64 and arm64 executables.
6.28.02
Fixed bug in gam forward message|thread
that misformatted the message when Cc:
was present.
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.
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
d06c6ca7d9101a287241152503c3377dd2a56a9709858583890ceced874bf37f gamadv-xtd3-6.28.05-linux-arm64-glibc2.23.tar.xz
59c770a614143183baa1a881043ab6ad24e20f9417444f5a73d00d1dff87cdb0 gamadv-xtd3-6.28.05-linux-arm64-glibc2.27.tar.xz
4e1be1eda5433987f19b19fe07d11cfbe496ea3c2309f4182030337bd4a7dd6f gamadv-xtd3-6.28.05-linux-arm64-glibc2.31.tar.xz
7c75cbb1b274c26e81307e497f0d18ff415615ca9d5552af021956cf3ea9fc08 gamadv-xtd3-6.28.05-linux-x86_64-glibc2.19.tar.xz
fa487a24710027a9d41f78a1c88612101a4ae8de6a48a08794d0bc4d51c89c6c gamadv-xtd3-6.28.05-linux-x86_64-glibc2.23.tar.xz
58981bc1cde60b2a35185e3112e76095d7ea761347176f743b22d8f3680cdbc3 gamadv-xtd3-6.28.05-linux-x86_64-glibc2.27.tar.xz
5e9ae929e921704bc9a372465819288864edbd8aed416d343cf0e8237bb69473 gamadv-xtd3-6.28.05-linux-x86_64-glibc2.31.tar.xz
6abedb3a9ec8d6c16361e334f16949085c1cc14fee8c38e4df92d03cdded3947 gamadv-xtd3-6.28.05-linux-x86_64-glibc2.35.tar.xz
e646574e4829d1256252e19a63b8d7b75ec49b8e5f47cd0a71d5068901e5a7cd gamadv-xtd3-6.28.05-linux-x86_64-legacy.tar.xz
4c4e38f0deb2864f6764e2a9fe9e8eee777f68a51cd18702bf9b6404a8e0b214 gamadv-xtd3-6.28.05-macos-arm64.tar.xz
658e48967466bd12ccb2ab0c12a4cb3dd2e9b0c9de10c66ab750a9454423b30b gamadv-xtd3-6.28.05-macos-x86_64-legacy.tar
e5abe0a3fdf316ba0e7c9fcbf4028de97549ae8ed1a0d7489ba89e424634e3d3 gamadv-xtd3-6.28.05-macos-x86_64.tar.xz
9a4d55ccfd4ac158a480697230d766b3b14a7a1401914105bef156b6a091d540 gamadv-xtd3-6.28.05-windows-x86.msi
34ca1f612984c67f2500caa291f5d33b3c34c47c7bdda59c1c45c67bd02f402f gamadv-xtd3-6.28.05-windows-x86.zip
8f0e8d310cad57dc334ba90e00cd3ec64e036cf2d425a2afd4bac85572b09638 gamadv-xtd3-6.28.05-windows-x86_64.msi
23aaa3dcdefa81722eeaa4a63901388535aae7b76b2f14e5ca4b45a4dc04d314 gamadv-xtd3-6.28.05-windows-x86_64.zip