Row Number Field in HTML Email Template
If you want to number table rows in an email, you can use the ROW_NUMBER field. This field numbers each line item in a detail dataset and is included by default in every report or query dataset.
Insert the ROW_NUMBER field into any detail region in the template to number the results in the merged output file.
In the below example, the {{ROW_NUMBER}}
merge field is placed in the far left column: