Merge pull request #145 from dacrome/OSNG-322

Osng 322
Merge pull request #146 from dacrome/OSNG-360

[task] created default email template files
[task] refactore mail and template function, update controller tests