# gmailctl mit Homebrew, dnf, MacPorts, Nix installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für gmailctl in AI-Agent-Workflows.

## Installation

```sh
sudo av install brew:gmailctl
```

Weitere Installationsbefehle:

### macOS

- Homebrew (100%):

```sh
brew install gmailctl
```

  Evidenz: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install gmailctl
```

  Evidenz: MacPorts ports tree: mail/gmailctl/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- dnf (92%):

```sh
sudo dnf install gmailctl
```

  Evidenz: Fedora Rawhide package metadata: gmailctl from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#gmailctl
```

  Evidenz: nixpkgs package indexes: pkgs/by-name/gm/gmailctl/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## Paketfakten

- **Paketschlüssel:** brew:gmailctl
- **Paketmanager:** Homebrew
- **Version:** 0.12.0
- **Quellzusammenfassung:** Declarative configuration for Gmail filters
- **Homepage:** <https://github.com/mbrt/gmailctl>
- **Repository:** <https://github.com/mbrt/gmailctl>
- **Zuletzt aktualisiert:** 2026-07-29T16:05:03+02:00
- **Generiert:** 2026-08-03T19:37:03+00:00

## Executables

- gmailctl (Alias)

## Installationsverhalten

- Bottle: nicht verfügbar

## Version und Aktualität

- Seite generiert: 2026-08-03
- Manager-Version: 0.12.0
## Projektgeschichte und Nutzung

gmailctl is a Go command-line tool for maintaining Gmail filters as declarative Jsonnet configuration. It treats mail filtering rules as code: users edit a local configuration, review a diff, and apply the result through the Gmail API instead of importing XML filters by hand.

### Projektgeschichte

The public repository was created in 2018 by Marco Bertoni. The README frames the project around a practical frustration with long, hard-to-audit Gmail filter lists and contrasts gmailctl with tools that generate XML for manual import.

The project developed around a small CLI surface: init, edit, diff, apply, download, export, and debug. Versioned GitHub releases show a 0.x series continuing from 2021 through 2026, with prebuilt binaries and Go installation documented upstream.

### Adoptionsgeschichte

gmailctl's adoption story is that of a focused personal-infrastructure tool rather than a large ecosystem platform. It reached package managers such as Homebrew, Fedora, MacPorts, Nix, and Snap, making a Gmail-account automation workflow installable through normal workstation provisioning.

The repository's star count and package availability indicate a recognizable niche among users who want email rules to live in version control and code review, especially people already comfortable with command-line tools and declarative configuration.

### Wie es verwendet wird

Practitioners run gmailctl init to set up Gmail API access, then use gmailctl edit or a local Jsonnet file to maintain filters. The tool can show diffs against Gmail settings, apply the local configuration, export XML, and download existing filters as a migration starting point.

Its main operational value is repeatability: filter rules can be reviewed, backed up, refactored, and reapplied, while credentials and tokens stay in the gmailctl configuration directory.

### Warum Paket-Nerds sich dafür interessieren

For package users, gmailctl is a small example of SaaS configuration drifting into dotfile territory. It packages the hidden state of a Gmail account as a CLI-managed artifact, so a mail workflow can be installed and upgraded alongside other command-line tools.

### Zeitleiste

- 2018: Public GitHub repository created.
- 2021: Version 0.10.0 published in the GitHub releases stream.
- 2026: Version 0.12.0 published.

### Related projects

- gmail-britta is cited by the README as an earlier Gmail-filter DSL approach based around XML import.
- Jsonnet supplies the configuration language used for composable Gmail filter definitions.

### Quellen

- <https://api.github.com/repos/mbrt/gmailctl>
- <https://github.com/mbrt/gmailctl>
- <https://github.com/mbrt/gmailctl/releases>


## Sicherheitshinweise

Für gmailctl wurde kein passendes lokales Secret-Handling-Manifest gefunden. Nucleus-Paketmetadaten bleiben hier veröffentlicht, damit künftige Abdeckung eine stabile Paket-URL hat.



## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: $XDG_CONFIG_HOME/gmailctl/config.jsonnet, ~/.config/gmailctl/config.jsonnet, ~/.gmailctl/config.jsonnet

## Credential files

- Unix: $XDG_CONFIG_HOME/gmailctl/credentials.json, $XDG_CONFIG_HOME/gmailctl/token.json, ~/.config/gmailctl/credentials.json, ~/.config/gmailctl/token.json, ~/.gmailctl/credentials.json, ~/.gmailctl/token.json
## Andere Paketmanager-Einträge

- Nix - gmailctl: normalized package name match | nixpkgs package indexes: pkgs/by-name/gm/gmailctl/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- dnf - gmailctl - 0.12.0-2.fc45: normalized package name match | Fedora Rawhide package metadata: gmailctl from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Declarative configuration for Gmail filters | https://github.com/mbrt/gmailctl
- MacPorts - gmailctl: normalized package name match | MacPorts ports tree: mail/gmailctl/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/gmailctl.yml](https://github.com/mxcl/pkgdb/blob/main/combined/gmailctl.yml)


## Quellen

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
