This looks useful!
For "Declarative configuration for Gmail filters", see also https://github.com/mbrt/gmailctl
For "Declarative configuration for Gmail filters", see also https://github.com/mbrt/gmailctl
* How many emails I get from a sender
* From mails' subject
* Which similar mails I open or not.