Gmailctl
lastmod 2026-11-10created 2024-12-112 edits
Gmailctl is a CLI tool that manages Gmail mail filters declaratively through a configuration file. You write filter rules in Jsonnet format and apply them through the Gmail API; it compares the current account's filters with the configuration file and applies only the changes. Its purpose is to handle dozens of filters as version-controllable code instead of editing them by hand in the web UI.
Declarative configuration for Gmail filters