Email notifications v1.5 #2

The new version of the PR #1053 
Containing @tilgovi's suggestions.

- New operators are moved into a separate PR
- Fixes about the reply filter
- Use txt template instead of pt
- Minor fixes (Indentation, dummy code removal)