sensu-plugins-mailer HTML support

Hi Sensu Experts,

We are using Sensu for monitoring purposes, but we are interested in sending HTML emails with mailer plugin. I’m not an expert in Ruby, but I’ve seen the handler-mailer.rb code and I found this:

In lines L120-L136 there’s a function related to the content type:

if use.casecmp(‘html’).zero?
‘text/html; charset=UTF-8’
‘text/plain; charset=ISO-8859-1’

Could you give me some clue on this? if ‘text/html’ is supported how can I send emails in HTML format?

Thanks Sensu Experts!