-
Notifications
You must be signed in to change notification settings - Fork 78
Open
Labels
kind/featureNew feature or requestNew feature or requestlifecycle/keep-aliveDenotes an issues or PR that should never be considered stale.Denotes an issues or PR that should never be considered stale.
Description
I've noticed gmailctl likes to split some "or" conditions into separate filters where I would've expected a single Gmail filter. It's a cosmetic thing, but affects a lot of my filter rules and ends up bloating/obfuscating my Gmail filters list quite a bit in practice.
For example:
{
filter: {
or: [
{ list: 'list1.example.com' },
{ cc: '[email protected]' },
],
},
actions: { archive: true },
},Will produce:
Filters:
--- Current
+++ TO BE APPLIED
@@ -1 +1,10 @@
+* Criteria:
+ query: list:list1.example.com
+ Actions:
+ archive
+* Criteria:
+ query: cc:[email protected]
+ Actions:
+ archive
+
instead of a single query list:list1.example.com OR cc:[email protected].
Is there a reason for that?
Metadata
Metadata
Assignees
Labels
kind/featureNew feature or requestNew feature or requestlifecycle/keep-aliveDenotes an issues or PR that should never be considered stale.Denotes an issues or PR that should never be considered stale.