The Email processor provides flexibility to job email notifications.
Configuration of the email processor is stored in a file named
dkron-processor-email.yml in the same locations as
dkron.yml, and should include a list of providers, it can include any number of providers.
from: [email protected]
subjectPrefix: '[Staging] '
Then configure each job with the following options:
By default the email procesor doesn't send emails on job success, the
onSuccess parameter, enables it, like in the previous example.