 
     initTrackJs: ->
       @getVersion().then (version) =>
-        @getCurrentGmail().then (email) ->
+        @getCurrentEmailAddress().then (email) ->
           opts =
             userId: email
             version: version

    ###
    inject: =>
      return unless @inConversation()
      @getSettingEmail().then (settingEmail) =>
        log 'Email address in settings', settingEmail
        @getCurrentGmail().then (currentGmail) =>
          log 'Current Gmail window', currentGmail
          @injectThread() if (not settingEmail or not currentGmail) or currentGmail in settingEmail.split /[, ]+/ig
      return

    isPreviewPaneEnabled: ->
      ($ M.GM_SEL.PREVIEW_PANE_ENABLED).length > 0

         logged in user
         @returns {Promise} a promise that resolves to the email address {String}
    ###
    getCurrentEmailAddress: -> currentEmailAddressDeferred.promise

    ###
    Sets up a listener for GMailr
