1 2 3 4 5 6 7
require ["imap4flags"]; if header :contains "X-Set-Seen" ["Yes", "YES", "1"] { setflag "\\Seen"; } keep;