.. _howdy_email_notif_label: ================================================ |howdy_email_notif| ================================================ This is documentation for the Howdy! one-off email announcement commnand line interface, ``howdy_email_notif``. You specify a simple email, with a simple text subject line a simple plaintext body, to email either to yourself at your Plex_ account or also to friends of your Plex_ server. The list of your Plex_ server friends can be accessed using :ref:`howdy_core_cli`, and specifically this command, .. code-block:: console howdy_core_cli --friends that produces a list of friends with and without associated names in your Google Contacts. .. _howdy_core_cli_example: .. figure:: howdy-email-cli-figures/howdy_core_cli_example.png :width: 100% :align: left For privacy reasons, I choose to blank out the names, emails, and total number of friends who have access to my Plex_ server. The help output, when running ``howdy_email_notif -h``, produces the following. .. code-block:: console usage: howdy_email_notif [-h] [--debug] [--test] [--subject SUBJECT] [--body BODY] optional arguments: -h, --help show this help message and exit --debug Run debug mode if chosen. --test Send a test notification email if chosen. --subject SUBJECT Subject of notification email. Default is "Plex notification for May 24, 2020.". --body BODY Body of the email to be sent. Default is "This is a test." * The ``--debug`` flag prints out :py:const:`DEBUG ` level :py:mod:`logging ` output. * ``--subject`` specifies the subject line. If it is not specified, then the subject is ``"Plex notification for "``, where ```` is the current date in ``MONTH DAY, YEAR`` format (such as January 01, 2019). * ``--body`` specifies the text body of the email. if it is not specified, then the default body is ``"This is a test."``. * ``--test`` just sends the email to your Plex_ email account. I find it useful to run with ``--test`` first, until the subject and the body of the email is correct. Without the ``--test`` flag, this email is sent to all the friends of youe Plex_ server (see :numref:`howdy_core_cli_example`). .. |howdy_email_notif| replace:: ``howdy_email_notif`` .. _Plex: https://plex.tv