Text Templates for mail notification

fixes #934