Redefining Mail notifications template for Spring Boot Admin
<p>Can we have a sample of variables available for redefinition of templates, <a href="http://codecentric.github.io/spring-boot-admin/1.4.3/#mail-notifications" rel="nofollow noreferrer">documentation</a> is scarce on this?</p>

<p>In Class package de.codecentric.boot.admin.notify.MailNotifier I read</p>

<pre><code>private static final String DEFAULT_SUBJECT = "#{application.name} (#{application.id}) is #{to.status}";
private static final String DEFAULT_TEXT = "#{application.name} (#{application.id})\nstatus changed from #{from.status} to #{to.status}\n\n#{application.healthUrl}";
</code></pre>

<p>In my specific use case I inherited a bunch of applications which I want to ping or monitor they are alive. I have no control on them but my app depends on them.</p>

<p>My app doesn't fail but may misbehave (important point!).</p>

<p>So I added a bunch of customs HealthIndicator to get them monitored by ping, that work perfectly, and I was very pleased by changing an IP a notification was sent, great!</p>

<p>But there is a but, the message sent let me think than the app was failing, while instead the health indicator was status OUT_OF_SERVICE, unnecessary stress for DevOps.</p>

<p>Come to my question, how can I add some extra variables whereby some carefully crafted SPEL will distinguish an Health indicator message status change than an application status change ie webapp going offline.</p>

<p>Is a dictionary of SBA keywords available to use for redefining for example <code>spring.boot.admin.notify.mail.text</code> Mail notifications configuration option?</p>

<p>I guess this is valid to other notifiers being hipchat, Slack.</p>

<p>Thank you.</p>