I also tested your "headers: subject: ..." section under "email_configs".
This is what Thunderbird showed me for a "resolved" E-mail:
[image: resolved.png]
Therefore, it all works as expected as far as I can see. Did you remember
to signal to alertmanager that you'd changed its config? (Send it a HUP
signal)
Do note that you included an extra space before and after the words "DOWN"
and "UP" in your template. Hence the E-mail subject has a leading space:
Subject: UP
^^
--
You received this message because you are subscribed to the Google Groups
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/prometheus-users/69338172-62b6-4157-8dcd-0d155955f5b8n%40googlegroups.com.