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
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
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