Automatic email filtering
If a server supports the SIEVE protocol, we should be able to do some automatic filtering using it. This can be probed for during account creation and/or at login. Rather than using a set of explicit rules and actions however, this should be implemented as implicit actions. For example:
- Conversations with a common set of labels on all email should get the same labels applied to new email rolling in
- Contact popovers should allow specifying a specific label to be added to new email from that contact
- Folders should allow automatically marking as read all incoming email to that folder
Etc. etc. Note here "labeling" means "copy to a user-created IMAP mailbox".
Note that a we're not aiming for a Sieve ruleset editor here, rather a way of using Sieve to implement the above. Anyone looking for a Sieve ruleset editor would need to look to getting that implemented as a community-provided plugin.