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.2.tar.gz (28.5 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.2-py3-none-any.whl (33.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nicemail-0.2.2.tar.gz
  • Upload date:
  • Size: 28.5 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.2.tar.gz
Algorithm Hash digest
SHA256 fa59cba6b6007a3bfa548b76369e7cbd37fd383c5c1a3363a446554a725d87b1
MD5 aa7cc949917e413b1857243bdab087fb
BLAKE2b-256 83b78efde027c5a1ae84bff211f14dcf3985eea1b34257451156c63f412e3b50

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nicemail-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 33.4 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9054ab39697d09cbbc58ca1d59e57c15863e96fd16df8e31b18956f98f7f2582
MD5 a15fd18a5cc30188ab05f7c0134c8270
BLAKE2b-256 52be8b84ce476aae7bd03ee5f6bfea9dbef296c69d281a6eb01b66c5b58aa209

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