add %MAIL% to template.Makefile