Fixed static problem in mail template