Adding a check whether the mailer service has been enabled.