fixes #8331 - provide some tools for filtering mail

- Adds a header `X-Foreman-Server`
- Add a prefix to subjects (e..g [foreman])
why do we return if its blank?