I am sending MarkLogic emails for monitoring details of a running host using xdmp:email
through a scheduled job, I wanted to set the importance of the email based upon the status of the host from where the job is getting executed.
Please suggest how to go about it?
I want to set the importance as red if the system resources go below a particular benchmark.