Include alert details in subject in email notifications


I have 2 questions.

Is it possible to include alert details, such as the IP in the subject line in email notifications?

This is the “email_subject” setting in “/etc/crowdsec/notifications/email.yaml”

And for the email body (the “format” in email.yaml), is it possible to include the whole alert object in YAML format.

(That is I wanna include ASNNumber, IsoCode, etc. in the email; everything in the ‘show full alert object’ example here: Introduction | CrowdSec )