Skip to main content

cmsend: chatmail sendmail tool for end-to-end encrypted messages

WORK IN PROGRESS: this is more an explorative study for now

To install use:

uv tool install cmsend

To send and receive from a single chatmail relay:

cmsend --init nine.testrun.org   # <-- substitute with the domain you want to set as origin

To setup a tagged chat using an invite link:

cmsend -t LOG --join "INVITELINK"       # <-- quotes are neccessary because links contain "&"

To send a message to a tagged chat:

echo "hello" | cmsend -t LOG

To list all chats with tags:

cmsend -l

To send a message to a tagged chat with an attachment:

cmsend -t LOG -m "here is the file" -a README.md

To show help:

cmsend -h

Developing / Releasing cmsend

  1. clone the git repository at https://github.com/chatmail/cmsend

  2. install 'cmsend' in editing mode: uv pip install -e .

  3. edit cmsend.py and test, finally commit your changes

chatmail/workflows defines py-checks for this repository. Run checks locally with uvx ruff check . and uvx ruff format --check .

To release, run the shared release script from a checkout of chatmail/workflows:

python ../workflows/scripts/make_new_release.py

It runs the checks, tests the built wheel, generates the CHANGELOG.md entry with git-cliff and opens it in your editor, then commits, tags vX.Y.Z and pushes. The release.yml workflow builds and publishes to PyPI via trusted publishing (OIDC); no local twine or PyPI token is involved.

Download files

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

Source Distribution

cmsend-0.5.0.tar.gz (9.9 kB view details)

Uploaded Source

Built Distribution

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

cmsend-0.5.0-py3-none-any.whl (10.1 kB view details)

Uploaded Python 3

File details

Details for the file cmsend-0.5.0.tar.gz.

File metadata

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

File hashes

Hashes for cmsend-0.5.0.tar.gz
Algorithm Hash digest
SHA256 55f0c3318621af1003ffcfc93f38138cecdec2d958edb6d753f670be505f9fe9
MD5 1b7ce32d8eff782ac36c91f2552b109d
BLAKE2b-256 28829cfa4daecc1613d40f481cf7ee769aaff0030b967a9f115d62164e5ca0a7

See more details on using hashes here.

Provenance

The following attestation bundles were made for cmsend-0.5.0.tar.gz:

Publisher: release.yml on chatmail/cmsend

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

File details

Details for the file cmsend-0.5.0-py3-none-any.whl.

File metadata

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

File hashes

Hashes for cmsend-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d6ae7fc47e41bac66cb71a92c395d262e760148d82ceb1a1400dfcc0848474c5
MD5 0f33a05ce352045e08848b89ba6dd746
BLAKE2b-256 52aa0d78a8dfa1da5dc49e61e49ad5a3cbdbf0769129871709dae7d469126dff

See more details on using hashes here.

Provenance

The following attestation bundles were made for cmsend-0.5.0-py3-none-any.whl:

Publisher: release.yml on chatmail/cmsend

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

0.5.0 This release

2 files

0.4.4

2 files

0.4.3

2 files

0.4.2

2 files

0.4.1

2 files

0.4.0

2 files

0.3.2

2 files

0.3.1

2 files

0.3.0

2 files

0.2.0

2 files

0.0.1

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