diff --git a/procmail2notmuch/src/main.rs b/procmail2notmuch/src/main.rs index a6759b7..fd178e8 100644 --- a/procmail2notmuch/src/main.rs +++ b/procmail2notmuch/src/main.rs @@ -158,7 +158,7 @@ fn notmuch_from_rules(mut w: W, rules: &[Rule]) -> anyhow::Result<()> lines.push(format!( // TODO(wathiede): this assumes `notmuch new` is configured to add // `tag:unprocessed` to all new mail. - "-unprocessed +{} -- tag:unprocessed {}{}", + r#"-unprocessed +{} -- tag:unprocessed {}"{}""#, t, match m.match_type { MatchType::From => "from:",