Skip to main content

A simple email package

Project description

Nicemail

Nicemail is a small, explicit email-sending library for personal and small-team use. It favors clarity and safety over abstraction.

Quickstart

from nicemail import EmailClient

client = EmailClient(backend="dry_run", out_dir="dry_run_out")
client.send(
    to="you@example.com",
    subject="Hello from Nicemail",
    body_text="This is a dry-run message.",
    from_address="me@example.com",
)

CLI

nicemail dry-run --to you@example.com --from me@example.com --subject "Hello" --body "Test" --out-dir ./dry_run_out
nicemail send --backend ms_graph --to you@example.com --subject "Hello" --body "Hello from Nicemail" --email me@example.com --client-id YOUR_CLIENT_ID

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

nicemail-0.2.3.tar.gz (28.9 kB view details)

Uploaded Source

Built Distribution

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

nicemail-0.2.3-py3-none-any.whl (33.7 kB view details)

Uploaded Python 3

File details

Details for the file nicemail-0.2.3.tar.gz.

File metadata

  • Download URL: nicemail-0.2.3.tar.gz
  • Upload date:
  • Size: 28.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for nicemail-0.2.3.tar.gz
Algorithm Hash digest
SHA256 9c72f7af207a02be1760d9c50604f11400533d68f4a37b044bdb4d7508c6e08f
MD5 d364df0b781c9d44fe882db296c04435
BLAKE2b-256 ca34101c8c26264ac63e9e80be84d1c37bfe27a96b11d98eb63ec0d977a4e088

See more details on using hashes here.

File details

Details for the file nicemail-0.2.3-py3-none-any.whl.

File metadata

  • Download URL: nicemail-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 33.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for nicemail-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 6256e0f7d7b3390e8ff2f7a98e99d93653583c12a1afad2143b7ced50cd04ef5
MD5 e7f0e7ebeaba1b71b18edfc7f6b43526
BLAKE2b-256 7c0114b93867f787f9a46d122667abb339b4bf948d3df5f3732cb6886c8fdd68

See more details on using hashes here.

Supported by

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