#JC-1428 Logic of checking whether notifications are enabled or not
moved to MailService.