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.0.tar.gz (28.2 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.0-py3-none-any.whl (33.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nicemail-0.2.0.tar.gz
  • Upload date:
  • Size: 28.2 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.0.tar.gz
Algorithm Hash digest
SHA256 e2949368e29c6a4880187676411aa474995c4deabf65ace2bf115f8afaf26f74
MD5 784c1486859460864e29dc953fb444d5
BLAKE2b-256 f100ff07b7dc53b10fdffed420a2f0f3c9b0e57e2585a2cf34df51685025bc0c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nicemail-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 33.0 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 83e78b2c4ccc862707241f1ba58abe7d5e01f36f7a5f8d8111668ae347311459
MD5 a23089203a50ced56d098535fac99b05
BLAKE2b-256 6ffc967acdd41833f9c5c227c86d8938b12b86801a0dba61131cd2f6c332c286

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