Carl Worth <cworth@cworth.org> writes: > On Mon, Sep 28 2015, Xu Wang wrote: >> I would look to look for all emails from a colleague jongho. I tried: >> >> from:jongho attachment:pdf >> >> which seems to do as I wanted. > > Good. That should work. Another option is to use mimetype:pdf man notmuch-search-terms is probably worth a look when facing these kinds of puzzles. It contains both Carl's reply about term based search and mine about the mimetype: prefix. Of course it is getting pretty big, I don't know what to do about that. d