UPD: Use new template features in mailmanagement