fix checking of mailer services in EmailSenderListener