Prevents timeouts if no smtp settings
Merge pull request #7 from standout/fix-issue-with-mail-when-mail-settings-arent-set

Prevents timeouts if no smtp settings