How to access/use system configuration values for use in notification message (or any yaml)

I have an automation that runs a notification service (SMTP) and I want to customize the title and message using the system configuration installation name and internal URL as set in the /config/core general page

i.e. like

      data:
        title: "Home Assistant: <configured system installation name> Has Restarted"
        message: "Attention [i]italic[/i] Text[br][url=<config internal url>]Home Assistant[/url]"

using templates??

      data:
        title: "Home Assistant: {{ hass.config.install_name }} Has Restarted"
        message: "Attention [i]italic[/i] Text[br][url={{ hass.config.interalURL}}]Home Assistant[/url]"

this ismy best guess and it of course doesn’t work.

maybe this is the way ? New User system, use username for conditions

I suppose this is really a more general question for which I can find no documentation nor even another post in the forum. I gotta believe one can access these values within yaml.

  1. How can I view/filter the state of all system configuration key values pairs (there is no equivalent tool to entity/state)?
  2. How do I use them (how are they exposed) in inline templates?