[ticket/11400] If email is disabled, disable it for notifications

PHPBB3-11400
Merge remote-tracking branch 'EXreaction/ticket/11400' into develop

# By Nathan Guse
# Via Nathan Guse
* EXreaction/ticket/11400:
  [ticket/11400] If email is disabled, disable it for notifications