Skip to main content

gmute adds support for Gmail’s “mute” feature to mutt, and any other mail client which can output the raw headers to a file. Muting prevents new entries in a thread from appearing in the inbox, which can be very useful for managing mailing list activity.

Usage

First, put your IMAP credentials in ~/.config/gmute, like so:

[auth]
user = jcd@unatco.int
pass = bionicman

If you want to use this from the mutt index, you can add something like the following binding to your configuration with gmute in mutt’s $PATH:

macro index M '<enter-command>set pipe_sep="\n_PIPE_SEP_\n"<enter><pipe-message>gmute<enter><sync-mailbox>'

Then, with a message from a thread you want to mute highlighted in the index, press M to mute that thread, just as would work in the Gmail UI. gmute also works with tags, either using tag-prefix or set auto_tag.

You might also want to unset wait_key in your mutt config if you don’t want the “press any key to continue” prompt.

Installation

To install the latest stable version from PyPi:

pip install -U gmute

To install the latest development version directly from GitHub:

pip install -U git+https://github.com/cdown/gmute.git

Metadata

Release files for gmute 1.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gmute 1.4.0
File Size Uploaded Provenance
gmute-1.4.0.tar.gz 4.7 kB Without provenance Details

Release files / gmute-1.4.0.tar.gz

Download URL gmute-1.4.0.tar.gz
Size 4.7 kB
Tags Source
SHA-256 checksum
How to use checksums
ab98bb5b6e11aa77177c9dfc6a067968d02226c7e049c3f7dac001297a26dc2d
BLAKE2b-256 checksum
How to use checksums
71af229cd507353db36f29033b5bfbd358b8f5680312eec8e2759341e0880d87
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2

Security for gmute 1.4.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page