Email Alert for Version Doctype


I want to create an email alert for Version Doctype, by which I want to pull all the information stored.
So, that the owner of the document should now what field was changed, who has changed, what was the old value and what is the new value?

But the issue is the Version Doctype structure is not very simple it is a bit tricky to deal with this.

Any idea on this will be appreciated.

I am using the below code but the email comes as blank.

{% if %}
<h4>{{ __("Comment") + " (" + }})</h4>
<p>{{ }}</p>
{% endif %}

{% if and %}
<h4>Values Changed</h4>
      <td style="width: 33%">Property</td>
      <td style="width: 33%">Original Value</td>
      <td style="width: 33%">New Value</td>
    {% for item in %}
      <td>{{ aa }}</td>
      <td>{{ item[1] }}</td>
      <td>{{ item[2] }}</td>
    {% endfor %}
{% endif %}

Ruchin Sharma