diff --git a/notmuch/src/lib.rs b/notmuch/src/lib.rs index 051877e..5dea617 100644 --- a/notmuch/src/lib.rs +++ b/notmuch/src/lib.rs @@ -479,7 +479,13 @@ impl Notmuch { } pub fn show(&self, query: &str) -> Result { - let slice = self.run_notmuch(["show", "--format=json", query])?; + let slice = self.run_notmuch([ + "show", + "--include-html=true", + "--entire-thread=true", + "--format=json", + query, + ])?; // Notmuch returns JSON with invalid unicode. So we lossy convert it to a string here an // use that for parsing in rust. let s = String::from_utf8_lossy(&slice);