Open danielbayley opened 8 years ago
I agree with this issue. Could you state some rule criteria you want? Test run like how Gmail allows you to see what messages would be impacted by a rule?
Could you state some rule criteria you want
Well the main ones I can think of at the moment would be…
Also the basic ability to combine rules would be a major one, like ‘all of these conditions and any of these… any of these, but none of these’ etc…
Hmm, sounds like a good list—I think 1, 3, and 5 above should be straightforward to add. I'm hesitant to allow rules to be dependent on the execution / conditions of other rules because I think average users will have a hard time following dependency graphs of rules, and it adds the possibility of cycles in our rule interpreter, etc. That said, we might be able to add an "Advanced Mode" to that view :-)
Is this a feature to implement on the client side or the Sync Engine side? There may be race conditions if multiple instances of N1 use the same rules.
What file/folder are the mail rules actually stored in by the way?
@danielbayley They are stored inside edgehill.db
as JSONBlob
s.
Wouldn’t they be better as a separate .json
file? —or even better a .cson
file…
That'd be fine also—they're in the database because 1) they're not really human-editable since they reference folder / label IDs, and 2) they are automatically synced between windows if they're in the database. We may actually move them to the cloud metadata store that's being built into the sync engine so they're available / editable across all your machines using N1, and could eventually be applied server side.
Another request: https://nylas.zendesk.com/agent/tickets/4215
The main thing would be a list of 'messages that matched this rule' straight below the rule. Gmail & inbox do this (although their rules work really badly). something showing if the regex isn't correct (not sure which engine you're using - the JS one?) >being allowed to put a /i (case insensitive flag) on the regex would be great as well.
Wha about this one? https://github.com/nylas/N1/issues/2229
Mail Rule for Forwarding - It would be super helpful if I could set up a mail rule to forward to another address.
For me, it's the most needed/urgent.