 
     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')

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

    Accounts.urls.verifyEmail = (token) -> Meteor.absoluteUrl('verify-email/' + token)

  _.extend AccountsUi,
    
    createEmail: (email) ->
      config = AccountsUi.config()
      fromAddress = config.email.fromAddress
