Fixed path to template
Added email data storage var