Email notification - subject variables

Now dealing with email notifications.

I know that I can use {{status}} in the subject, which will become success or error, this is working perfectly.

In the json file, there is a line like this for each “backup” (job) in a “schedule”:

"status_code": "success"

And the term “job” has also been used a few times:

My doubt is: in a schedule with multiple backups (jobs), does this variable represent the status of the schedule or the last job?

The status of a schedule is success only if all jobs reported success.

Any other field that can be used?

I tested {{name}} and didn’t work. :smile: :wink:

{{status}} is the only one.

It seems that once you set a subject, you can no longer see the name of the backup/task.
Could you at least add something like {{default}} to be replaced with the text is used now when you set no subject?
This way we could put “{{default}} {{status}}” to get the current default subject plus the status.
Are the results of “check” and “prune” jobs also taken into consideration for the error/success?