This utility helps you generate and maintain Gmail filters in a declarative way. It has a Jsonnet configuration file that aims to be simpler to write and maintain than using the Gmail web interface, to categorize, label, archive and manage your inbox automatically. If you use Gmail and have to maintain (like me) a lot of filters (to apply labels, get rid of spam or categorize your emails), then you probably have (like me) a very long list of messy filters. At a certain point one of your messages got mislabled and you try to understand why. You scroll through that horrible mess of filters, you wish you could find and replace stuff, test the changes on your filters before applying them, refactor some filters together... in a way treat them like you treat your code. Gmail allows one to import and export filters in XML format. This can be used to maintain them in a better way.

Features

  • An easy to understand, declarative, composable language
  • A builtin query simplifier, to keep the size of your filters down (Gmail has a limit of 1500 chars per filter)
  • Ability to review your changes before applying them
  • Automatic update of the settings (no manual import) in seconds
  • gmailctl is written in Go and requires at least Go version 1.17
  • The easiest way to use gmailctl is to run gmailctl edit

Project Samples

Project Activity

See All Activity >

Categories

Frameworks

License

MIT License

Follow gmailctl

gmailctl Web Site

Other Useful Business Software
Gemini 3 and 200+ AI Models on One Platform Icon
Gemini 3 and 200+ AI Models on One Platform

Access Google's best plus Claude, Llama, and Gemma. Fine-tune and deploy from one console.

Build generative AI apps with Vertex AI. Switch between models without switching platforms.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of gmailctl!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

Go

Related Categories

Go Frameworks

Registered

2023-01-30