add contact email setting and use in templates
update diary closed template text and test