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
AI-generated apps that pass security review Icon
AI-generated apps that pass security review

Stop waiting on engineering. Build production-ready internal tools with AI—on your company data, in your cloud.

Retool lets you generate dashboards, admin panels, and workflows directly on your data. Type something like “Build me a revenue dashboard on my Stripe data” and get a working app with security, permissions, and compliance built in from day one. Whether on our cloud or self-hosted, create the internal software your team needs without compromising enterprise standards or control.
Try Retool 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