Scroll to bottom of page for installation/downloads
Latest updates
6.28.06
Fixed bug in gam <UserTypeEntity> print|show messages ... showbody
that caused a trap.
Added code to handle the following error that occurs when copying permissions:
ERROR: 400: shareInNotPermitted - Bad Request. User message: "An item can't be shared with user@domain.com because of domain.com sharing policy"
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
9e9ab1f2e91f6a98596d0496d3a506b69c288f8bcd8f4e5033f1480787279aea gamadv-xtd3-6.28.06-linux-arm64-glibc2.23.tar.xz
d4f6c7fdb6aff29be7bab10fb4a072558b68b9e6832d70462d03b390acb7bea7 gamadv-xtd3-6.28.06-linux-arm64-glibc2.27.tar.xz
470ac4c2c19fde0655dbd30a0267baa7bf348bd71755a6b8c2ad3aee0f0d48d6 gamadv-xtd3-6.28.06-linux-arm64-glibc2.31.tar.xz
d39538814130bf2476a9181f44a1aa35b856fd7e3cbf86198d140cb3f30d3ea7 gamadv-xtd3-6.28.06-linux-x86_64-glibc2.19.tar.xz
6f49335ea85ef96b1d0800a662b6f126cbf17ddd5a0263efdd8a065eac137121 gamadv-xtd3-6.28.06-linux-x86_64-glibc2.23.tar.xz
0c1a05808fcdd53c43741856f2d9ee414008005b8fcf10bd0d29a269515d9a7a gamadv-xtd3-6.28.06-linux-x86_64-glibc2.27.tar.xz
66e7fa796adbed17c162797ef844eba1d99cdab63fced6a889e609ce3110a98b gamadv-xtd3-6.28.06-linux-x86_64-glibc2.31.tar.xz
a20c1c9961e029899e44c7aefb154c008547631bbb40f7937afe1f7a146113f6 gamadv-xtd3-6.28.06-linux-x86_64-glibc2.35.tar.xz
e5b197f56a22936efe5f78c994c847ed01e5af13dc787832be12a3e9eb86f589 gamadv-xtd3-6.28.06-linux-x86_64-legacy.tar.xz
6037ecbcccaf7bd9401bc90299350c77caa918cae10256313eb2e8af63d0139c gamadv-xtd3-6.28.06-macos-arm64.tar.xz
644b1fb8212955e5528cc821258e2135a431978fc6c74452126a959e6b4c950d gamadv-xtd3-6.28.06-macos-x86_64-legacy.tar
b21b65e6ac9cf964f05784ec28ca7dd5bad62bb4f89032678c4efc2044c7483d gamadv-xtd3-6.28.06-macos-x86_64.tar.xz
00288281bacf518b1e6a712e8ccfe11ebaca8403c490bcc84b89f2d6d589fab6 gamadv-xtd3-6.28.06-windows-x86.msi
d4fe574da81e96a7fcf054aad4bbc6e78be78d58bce1131165f3b79deb822106 gamadv-xtd3-6.28.06-windows-x86.zip
8ab9d47c1f9c424b398abe8c2566da1d52e4bca6a247ed21f1fce0967538fc42 gamadv-xtd3-6.28.06-windows-x86_64.msi
bb64d86eba2c33d3bdd84d86f88038cac6f7bc51ab518de2a36a71da20eb5463 gamadv-xtd3-6.28.06-windows-x86_64.zip