Hi David,
Thanks for the suggestion!
> You might be able to avoid mm altogether and go direct to notmuch to
> save the parts, which might make things a bit easier to control from the
> front end.
>
> Iterate over the buttons in the region, examining them to see if they
> are attachments, then provoke the 'save' method (which might need some
> surgery to use a default directory and avoid prompting).
Unless I'm misunderstood, it seems that notmuch dispatches all the
saving to `mm-save-part'. I don't see how to avoid mm without
re-implementing a big part of mm.
--
Pierre Neidhardt
https://ambrevar.xyz/