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

You Might Also Like
Our Free Plans just got better! | Auth0 by Okta Icon
Our Free Plans just got better! | Auth0 by Okta

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your secuirty. Auth0 now, thank yourself later.
Try free now
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