How to add object variables to Notify message?

Trying to send myself an email when wind speed exceeds a threshold.
In YAML:

How do I format the value "wind_speed" for this notify service?

what is that code block supposed to be?
Is that a template sensor or an automation? Not sure why it has both numeric state and value template.
I’m confused what you have posted here.

It’s an automation that fetches Openweathermap’s wind speed forecast for tomorrow. I got the value_template from others in the forum (it’s nearly impossible to find out object values for Openweathermaps data!). But this format does work as a Trigger. I would like to be informed what the value is though when it IS triggered!