On Thu, May 23 2019, Danh Doan <congdanhqx@gmail.com> 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. _______________________________________________ notmuch mailing list notmuch@notmuchmail.org https://notmuchmail.org/mailman/listinfo/notmuch