use email var in template