Skip to main content

Gmail mute support for mutt and other email clients

Project description

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

Project details


Download files

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

Source Distribution

gmute-1.4.0.tar.gz (4.7 kB view details)

Uploaded Source

File details

Details for the file gmute-1.4.0.tar.gz.

File metadata

  • Download URL: gmute-1.4.0.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for gmute-1.4.0.tar.gz
Algorithm Hash digest
SHA256 ab98bb5b6e11aa77177c9dfc6a067968d02226c7e049c3f7dac001297a26dc2d
MD5 e54ee4e238c0af1f39cb7eac28a7ed66
BLAKE2b-256 71af229cd507353db36f29033b5bfbd358b8f5680312eec8e2759341e0880d87

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page