Alan Schmitt <alan.schmitt@polytechnique.org> writes: > Hello, > > I need to extract some information from a message that is shown in > notmuch-mode, and I was able to easily get the from and subject of the > message. I now need to use the body, but I cannot find how to get it. I > assume I should use notmuch-get-bodypart-text, but I don't know how to > obtain the msg or part argument. > If you mean interactively for a currently displayed message, have a look at the function notmuch-show-current-part-handle, and the way it uses notmuch-show-get-{message,part}-properties. > In addition, can I get access to the List-Archive header? I could do it > by spawning an external process to get the raw message, but it seems a > bit heavy handed. there is a couple of patches by Johan Parin currently under review to provide a configurable set of headers. You can find them via https://nmbug.notmuchmail.org/status/#Review _______________________________________________ notmuch mailing list notmuch@notmuchmail.org https://notmuchmail.org/mailman/listinfo/notmuch