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 /path/to/venv/bin/python /path/to/updater.py >> /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.0.tar.gz (4.7 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.0-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: emailicious-0.1.0.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for emailicious-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c0c757dc30f9389044694acd395054134f52923901db206d5251a273e15ce695
MD5 5fa1b9d599c489ca5a2e7a3f543e734b
BLAKE2b-256 15a4d329e3377b8c2ace237ff29090a22c12a238c522ad2486c58382aa388c31

See more details on using hashes here.

File details

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

File metadata

  • Download URL: emailicious-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for emailicious-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6c12a43fa5eefa7e9c6978d8ef23d14473bf32e963f871f4bd2ccd0be4b85bc2
MD5 db4d4782dd3944e424db8f36770ca383
BLAKE2b-256 0507caf919ec8ee2653ef89771d134168860090ac771ab6984010d8683047994

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