Closed jsbrittain closed 3 months ago
Sending email on a pre-configured computer is quite trivial, but not so simple if providing a self-contained module that can be run on any system. One popular mail service if gmail, so providing access to this service is desirable. Gmail however operates security restrictions that must be considered.
Relevant resources:
Briefly, the old method of submitting a username and password for smtp access no longer works with gmail. Instead, set-up a gmail account (so that you are not using your personal account); activate 2FA (this enabled app passwords); Add an App Password; Provide the accounts username and 'app password' (in-place of the account password). This should work! Alternative methods include OAuth, which requires additional settings.
Pre-check:
vneyard
repository and was not able to find a similar module that already exists.Proposed module name [e.g. 'Download file']: Email Proposed category [e.g. 'Tutorial']: Utility Description of module: Send an email to inform the user that a stage in the workflow has completed.
Is this module based on an existing software package [Y/N]: mostly likely, but which depends on implementation If yes, please find a link to the package (preferably the github): linux
mail
/mailx
; python smtplib; other options availableDescribe any alternatives you've considered: N/A Add any other context or screenshots about the feature request here: N/A