summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2018-12-06 09:08:16 -0800
committerBen Sima <ben@bsima.me>2018-12-06 09:08:16 -0800
commit8d94076c61edd52760a05a9abfb1f00234f059e9 (patch)
tree4b9b2707bc79da3e6c5a8218cef5670cb23c2fc9
parent0e24ae8bbff98a00e80bb2b07d63efc85afe032d (diff)
Afew: receipt and banking filters
-rw-r--r--afew.ini14
-rw-r--r--email.nix4
2 files changed, 15 insertions, 3 deletions
diff --git a/afew.ini b/afew.ini
index 2661aad..ca11b22 100644
--- a/afew.ini
+++ b/afew.ini
@@ -61,4 +61,16 @@ tags = -inbox
[Filter.6]
message = remove rspamd from inbox
query = from:rspamd
-tags = -inbox \ No newline at end of file
+tags = -inbox
+
+[Filter.7]
+message = banking activity confirmations
+query =
+ (from:discover@service.discover.com AND subject:'Your Scheduled Payment') OR
+ (from:citicards@info6.citi.com AND subject:Confirmation)
+tags = -inbox +banking
+
+[Filter.8]
+message = receipts
+query = subject:receipt
+tags = +receipts -inbox \ No newline at end of file
diff --git a/email.nix b/email.nix
index 1b68a87..2eef5fd 100644
--- a/email.nix
+++ b/email.nix
@@ -53,8 +53,8 @@ in
notmuch tag -inbox +bitcoin -- to:bitcoin-dev@lists.linuxfoundation.org OR to:bitcoin-discuss@lists.linuxfoundation.org
notmuch tag -inbox +diybio -- to:diybio@googlegroups.com
notmuch tag -inbox +meetups -- from:meetup.com
- afew -tn
- afew -mn
+ afew -ta -T3
+ afew -ma -T3
'';
};