Scroll to bottom of page for installation/downloads
Latest updates
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
811e4f4ed4c10df412d9ef0d0f31795ff0693d33b34f2010fd5b2bf8a5b26256 gamadv-xtd3-6.28.04-linux-arm64-glibc2.23.tar.xz
32d84566baf71166d62b4074cf7280e61f629360d3ae8b27f6e4eb76358fff0e gamadv-xtd3-6.28.04-linux-arm64-glibc2.27.tar.xz
2fb1a0e1d96eb06bc1f8cc7a96fcdcd2892e0258fccb9817dd15d97c5008cfe7 gamadv-xtd3-6.28.04-linux-arm64-glibc2.31.tar.xz
a8d3250b4b9a47150e9a90509d7643e7ec98eba92ea686ff41e287a5b69fccbf gamadv-xtd3-6.28.04-linux-x86_64-glibc2.19.tar.xz
cb5921953a3f2f4b861e823682c987280862ad17dfa2c18fa6087220fe6cf722 gamadv-xtd3-6.28.04-linux-x86_64-glibc2.23.tar.xz
78a6b9ffd0149367e6bde2f669e73297630c74b0af009912490593fe6496a389 gamadv-xtd3-6.28.04-linux-x86_64-glibc2.27.tar.xz
8f15d77b9fed182d192002432e65cf2302532d163a495538eec2ced31a8efc92 gamadv-xtd3-6.28.04-linux-x86_64-glibc2.31.tar.xz
c8a60b22fab05e4571d70feef27da4b28a3090863e628dcc4cef16fc1bfa062c gamadv-xtd3-6.28.04-linux-x86_64-glibc2.35.tar.xz
957f55c4a839fc7ad09aec582c714e9035a4567ba9a40bf2301d455eb7db91e2 gamadv-xtd3-6.28.04-linux-x86_64-legacy.tar.xz
61ef3859b4ad4e237b51a778979e03cdbb573e48417f51b61b11a4dd820eefbd gamadv-xtd3-6.28.04-macos-arm64.tar.xz
c209c52b44ab82edc38a5a9161bd74cd24510bb7d3ff515564107b3a3290330a gamadv-xtd3-6.28.04-macos-x86_64-legacy.tar
a118ded0cb9a827547371e98895a03ecf4bb63f86ce4b7d91a3d2292a3fe1a65 gamadv-xtd3-6.28.04-macos-x86_64.tar.xz
c5846e99c5be1d5f1621bd3c148dbb8781e70d5dbb06923f7924fb8688d6444f gamadv-xtd3-6.28.04-windows-x86.msi
d2d51ff08d675df6e6f5861bcdb976ad70e7aa2908a05e21318000b89d5da955 gamadv-xtd3-6.28.04-windows-x86.zip
e09d1713d6c79ee705e2ba7b83580bf4687a3751d074244573e71fa810594b27 gamadv-xtd3-6.28.04-windows-x86_64.msi
b3bc8f886cff1c393af09fbf6d3f7e82d969de6e938af902b0a57873a1115c92 gamadv-xtd3-6.28.04-windows-x86_64.zip