Skip to main content

GithubTag CI Status

About

afew is an initial tagging script for notmuch mail:

Its basic task is to provide automatic tagging each time new mail is registered with notmuch. In a classic setup, you might call it after ‘notmuch new’ in an offlineimap post sync hook.

It can do basic things such as adding tags based on email headers or maildir folders, handling killed threads and spam.

In move mode, afew will move mails between maildir folders according to configurable rules that can contain arbitrary notmuch queries to match against any searchable attributes.

fyi: afew plays nicely with alot, a TUI for notmuch mail ;)

IRC

Feel free to ask your questions and discuss usage in the #afewmail IRC Channel on Libera.Chat.

Features

  • spam handling (flush all tags, add spam)

  • killed thread handling

  • automatic propagation of tags to whole thread

  • tags posts to lists with lists, $list-id

  • autoarchives mails sent from you

  • catchall -> remove new, add inbox

  • can operate on new messages [default], --all messages or on custom query results

  • can move mails based on arbitrary notmuch queries, so your sorting may show on your traditional mail client (well, almost ;))

  • has a --dry-run mode for safe testing

Installation and Usage

Full documentation is available in the docs/ directory and in rendered form at afew.readthedocs.io.

Have fun :)

Download files

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

Source Distribution

afew-4.0.2.tar.gz (43.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

afew-4.0.2-py3-none-any.whl (35.1 kB view details)

Uploaded Python 3

File details

Details for the file afew-4.0.2.tar.gz.

File metadata

  • Download URL: afew-4.0.2.tar.gz
  • Upload date:
  • Size: 43.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for afew-4.0.2.tar.gz
Algorithm Hash digest
SHA256 82c7eaca8543e825d7775e0c8b20399ead1eef013acb2996f52b26c69bbaf84e
MD5 d66e37e65939a51f79af6b89e2042255
BLAKE2b-256 246dc89b2aa4fc9cb07c57dc12818bb9d582e3564540c3c8d61655e536ad2e60

See more details on using hashes here.

Provenance

The following attestation bundles were made for afew-4.0.2.tar.gz:

Publisher: release.yml on afewmail/afew

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file afew-4.0.2-py3-none-any.whl.

File metadata

  • Download URL: afew-4.0.2-py3-none-any.whl
  • Upload date:
  • Size: 35.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for afew-4.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 22847a5a171cd0d87adc9265aacdb39c9716f86a223cbb1b354478e4cfc39632
MD5 cd27e12a884341bc0a8a7fbc86ae6eef
BLAKE2b-256 b6f139f31f2924d0089c34c0d9adbd8c6ba395f1647198b7a76175ac0d20673c

See more details on using hashes here.

Provenance

The following attestation bundles were made for afew-4.0.2-py3-none-any.whl:

Publisher: release.yml on afewmail/afew

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

4.0.2 This release

2 files

4.0.1

2 files

4.0.0

2 files

3.0.1

1 file

3.0.0

1 file

2.0.0

1 file

1.3.0

1 file

1.2.0

1 file

1.1.0

1 file

1.0.0

2 files

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