blob: f94c08ed90832aa3b656770cd18d9a9c44744b5d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#!/bin/sh
# tag emails in the Deleted folder as deleted
notmuch tag +deleted -unread -inbox -- folder:mit/Deleted
# tag emails in the Deleted folder as deleted
notmuch tag +archived -unread -inbox -- folder:mit/Archive
# tag emails in the Deleted folder as deleted
notmuch tag +sent -unread -inbox -- folder:mit/Sent
# remove "unread" from "replied"
notmuch tag -unread -- tag:replied
# tag my replies as "sent"
notmuch tag -unread +sent -- '(from:"moreka@mit.edu*" not to:"moreka@mit.edu*" not to:"moreka@MIT.EDU*" not tag:archived)'
# tag 18650 stuff for spring 26 correctly
notmuch tag +18650 -- '(("18650" or "18.650" or body:"/18\.?650/" or subject:"/18\.?650/" or from:"18.650 on Piazza" or from:"MIT-Canvas") and date:2025-12-22..)'
notmuch tag +18650 +18650org -- from:18650-spring26-org@mit.edu
|