Skip to main content

This is a Python package that automates sending of emails

Project description

Email Updater

A script to automate sending emails

  • Pulls sender and receiver credentials from .env file
  • Password stored should be hashed in base64
  • Can be used as a cron job
0 22 * * Mon-Fri emailicious -g >> /path/to/cronjob.logs 2>&1
  • Use bash alias for easy editing of email body
alias eup="/usr/bin/nvim \$HOME/path/to/daily_updates/\$(date -d \"\$([[ \$(date -d '+2 hours' +%u) -gt 5 ]] && echo 'next Monday' || echo '+2 hours')\" '+%Y-%m-%d').txt"

The cron job above sends email at 10pm on every working day. The bash alias above opens the file for next working day if called after 10pm.

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

emailicious-0.1.2.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

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

emailicious-0.1.2-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

Details for the file emailicious-0.1.2.tar.gz.

File metadata

  • Download URL: emailicious-0.1.2.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for emailicious-0.1.2.tar.gz
Algorithm Hash digest
SHA256 b1fe6f29d361df4fda009998a7b9dc694f4b03dee4dd5b8b7db76b1129686626
MD5 78394ec7fcc74d3c8c84287683978332
BLAKE2b-256 5a5c8e709771214c4170b0a17be2657a4eee980f58d2644c61e415635ab9f105

See more details on using hashes here.

Provenance

The following attestation bundles were made for emailicious-0.1.2.tar.gz:

Publisher: release.yaml on Jobin-Nelson/emailicious

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file emailicious-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: emailicious-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 6.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for emailicious-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a75e50c1529325379775afd10226d50ed835aebed48c19a371e9b57c75f695d5
MD5 b0852f46e4d34a47774f944b9b7e606f
BLAKE2b-256 9de44e1d07396fcedbf9d1d1882f3cbb18a790708d616d3b0957b777c412441a

See more details on using hashes here.

Provenance

The following attestation bundles were made for emailicious-0.1.2-py3-none-any.whl:

Publisher: release.yaml on Jobin-Nelson/emailicious

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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