[{ "name": "money", "desc": "Money stuff", "rules": [ {"from": "@(paypal\\.|patreon\\.)"} ], "op": { "add": "€£$" } },{ "name": "newsletter", "desc": "Inbox garbage I hopefully opted in for (Newsletters)", "rules": [ {"list-post": "news@|newsletter@"}, {"from": ["newsletter@|news@", "something"] }, {"from": "info@", "subject": "^[N|n]ews"}, {"x-mailer": "Green Wave|MailChimp|PHPMailer"}, {"x-campaign": ".+"} ], "op": { "add": "Newsletter", "rm": "unread" } },{ "rules": [ {"x-not-a-real-header": "yolo", "@tags": ["attachment", "encrypted", "signed"]} ], "op": { "rm": "inbox", "del": true } },{ "rules": [ {"@path": "/\\.Sent/"} ], "op": { "add": "sent", "rm": ["inbox", "unread"] } },{ "rules": [ {"@thread-tags": "mute"} ], "op": { "rm": ["inbox"] } },{ "rules": [ {"@path": "/\\.Drafts/"} ], "op": { "add": "draft", "rm": ["inbox", "unread"] } },{ "rules": [ {"x-spam": "[T|t]rue"} ], "op": { "add": "spam", "run": ["env"] } }]