Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Python version of the mutt-notmuch script

Project Description


[![PyPI version](](

This is a python version of the original mutt-notmuch script.

It will interactively ask you for a search query and then symlink the matching
messages to `$HOME/.cache/mutt_results`.

Add this to your muttrc.

macro index / "<enter-command>unset wait_key<enter><shell-escape>mutt-notmuch-py<enter><change-folder-readonly>~/.cache/mutt_results<enter>" \
"search mail (using notmuch)"

This script overrides the `$HOME/.cache/mutt_results` each time you run a

Install this by adding this file somewhere on your `PATH`.

Tested on OSX Lion, OSX El Capitan, Fedora 23, and Arch Linux.


-g Use gmail specific info (All Mail search)
-G Do not use gmail specific info
-p [path] Limit search results to files with path in the path name


BSD, short and sweet

Release History

This version
History Node


History Node


History Node


History Node


Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(2.5 kB) Copy SHA256 Hash SHA256
Source None Aug 8, 2016

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers DreamHost DreamHost Log Hosting