[FIX] Fix sending mails even though diabled

Fixes #732
Merge pull request #733 from TheSerapher/issue-732

[FIX] Fix sending mails even though diabled