Fixed reset mail template ctx data [FINISHED #74946280]
minor clean up.