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.1.1.tar.gz (26.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.1.1-py3-none-any.whl (29.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nicemail-0.1.1.tar.gz
  • Upload date:
  • Size: 26.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.1.1.tar.gz
Algorithm Hash digest
SHA256 6b3243af15b54ae46437370486c88b3ba0e8fb34a719c1d378c1a50c16901eba
MD5 68b428b466e7accc25605b0e8bb5cb2a
BLAKE2b-256 031c35b50cfcb0918b0ce39049d2e1405b22982d3dc98e8ce55dcbebcbc871a1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nicemail-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 29.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.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 eb1c4e4b4bca6af0f24f3e3aa3d34dfda6eb9b590078ac4f0b6e16c49adfd323
MD5 b9c5a1e79cec57fc821d887e254d94fe
BLAKE2b-256 39efc210f9c1fae479040bd9318923547cf6fce4c301c04243a6e127f4ed1bf0

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