getting all attachments, getting images

Rollins, Jameson jrollins at
Thu May 23 11:50:40 PDT 2019

On Thu, May 23 2019, Danh Doan <congdanhqx at> wrote:
> On Thu, May 23, 2019 at 07:06:39AM -0700, meOme wrote:
>> Hi!
>> How can I get a list of all mails with an attachment in notmuch?
> Notmuch has already tagged all mails with attachment with tag:
> attachment, hasn't it?
> Does this command work for you?
> notmuch search tag:attachment

I think that tag is only applied for part show content-disposition is
"attachment".  Attachments with disposition "inline" I think will not
get the tag, and there's no consistent policy as to how the disposition
should be set.  Images can be inline, for instance.

More information about the notmuch mailing list