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.4.4.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.4.4-py3-none-any.whl (10.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cmsend-0.4.4.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.4.4.tar.gz
Algorithm Hash digest
SHA256 b55b2e5b2550c946444baff71ff5499d86f2513e8140aeae2eb8db467b60a957
MD5 e646ce8133926939e7a26442489905eb
BLAKE2b-256 66ec8360a0707bfb29bc6c2d637b023ff6fc063aced7ff39b265333e8b8df53b

See more details on using hashes here.

Provenance

The following attestation bundles were made for cmsend-0.4.4.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.4.4-py3-none-any.whl.

File metadata

  • Download URL: cmsend-0.4.4-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.4.4-py3-none-any.whl
Algorithm Hash digest
SHA256 b925927fadae9fb1ae8007262b5faa35ac3897a77a1a12f81e0940ee0c14e61a
MD5 60669a69ef804ce1e55321d64df412d4
BLAKE2b-256 01daca8b7b5ba92a57c05ece4f6dee56f60c2933a39d48c2d4b293a7f484c60c

See more details on using hashes here.

Provenance

The following attestation bundles were made for cmsend-0.4.4-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

0.5.0

2 files

This release

0.4.4 This release

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