fix email templates (fixes #134)