Is it possible to use to search for specific mail content using built-in functionality of Mutt? Or, as last resort, how can I configure grep to be used in Mutt ?The documentation only mentions the search and limit functions, which only search headers.
Search for mail content with mutt
email;search;mutt
search and limit can also actually search inside messages, depending on the search patterns you give. From the Patterns subsection of the Mutt reference: ~b EXPR         messages which contain EXPR in the message body~B EXPR         messages which contain EXPR in the whole messageThat is, ~b only searches in the body, whereas ~B also searches in the headers.Note that this can be quite slow, since it may have to download each message one by one if they are not already cached. If you have a mutt version greater or equal to 1.5.12, you can cache the ones you are downloading for later use by setting message_cachedir to a directory where you want to store message bodies, which can significantly speed up searching them (and the same for headers with header_cache).