       @ignoreDOMElements.push el.get(0) if ignoreDOMEvents
       return
 
-    
+
     #
     #            Allows you to apply jQuery selectors in the Gmail DOM, like so:
     #
     #            G.$('.my_class');
-    #        
+    #
     $: (selector) ->
       @intercept()
       @elements.body.find selector
 
-    
+
     ###
     Subscribe to a specific event in Gmail
     ###

          if postParams and postParams.t and !(postParams.t instanceof Array)
            postParams.t = [postParams.t]
            count = postParams.t.length
          
          # The user has cleared more than a pageful, so we don't know the exact count
          count = -1  if postParams["ba"]


          listener?.call? @, type, args
      return


    ###
    Number of unread messages.
    ###
    numUnread: ->
      @intercept()

      # We always look to the inbox link, bc it always displays the number unread
      # no matter where you are in Gmail

      #var title = this.inboxLink[0].title;
      title = @getInboxLink().attr 'title'
      m = /\((\d+)\)/.exec title
      if m?[1] then parseInt m[1] else 0


    ###
    Email address of the Gmail account.
    ###
    emailAddress: ->
      @intercept()

      selectors = [
        "#guser b" # First, try old Gmail header
        ".gbmp1" # Try the new one
        '.gbps2'
      ]
      el = @elements.canvas.find selectors.join ','
      el.first().html()


    ###
    Returns whether the current view is a threaded or conversation view.
    ###
