{"repo":"mbrt/gmailctl","free":true,"listed":false,"github":"https://github.com/mbrt/gmailctl","clone":"git clone https://github.com/mbrt/gmailctl.git","description":"Declarative configuration for Gmail filters","language":"Go","stars":2194,"topics":["gmail","go","jsonnet","labels","filters","cli","gmail-filter"],"license":"MIT","category":"cli-tools","readme_excerpt":"gmailctl 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. Table of contents - gmailctl - Table of contents - Motivation - Install - Usage - Config directory - Migrate from another solution - Other commands - Configuration - Search operators - Logic operators - Reusing filters - Actions - Labels - Tests - Tips and tricks - Chain filtering - To me - Directly to me - Automatic labels - Multiple Gmail accounts - Known issues - Apply filters to existing emails - OAuth2 authentication errors - YAML config is unsupported - Comparison with existing projects - Footnotes Motivation 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 some better way... but dear Lord, no! Not by hand! That's what most other tools do: providing some","default_branch":null,"files":null,"tree":[],"storefront":"/r/mbrt","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/mbrt/gmailctl/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}