       delete args.user
       email = args
       config = AccountsUi.config()
+      return unless config.email.enabled
       user = Meteor.users.findOne(selector)
       unless user
         Logger.warn('Cannot send email to user - selector found no matches', selector, email)

        resetDisabledAccount: 'Password reset. Your account has not yet been activated. ' +
            'Please contact us for assistance.'
      email:
        fromAddress: null
        adminAddress: null
        templates:


    sendEmailToAdmin: (email) ->
      config = AccountsUi.config()
      return unless config.email.enabled
      adminAddress = config.email.adminAddress
      unless adminAddress
        throw new Error('AccountsUi: Admin email address not provided')
