 
     KD.remote.api.JPrivateMessage.create messageDetails, callback
 
+  refreshMessages:->
+    @emit "RefreshMessages"
+
   prepareMessage:(formOutput, callback, newMessageBar)->
     {body, subject, recipients} = formOutput
 


    @on 'MessageShouldBeSent', ({formOutput,callback})=>
      @prepareMessage formOutput, callback

  fetchMessages:(options, callback)->
    KD.whoami().fetchMail? options, callback

    @on 'MessageShouldBeSent', ({formOutput,callback})=>
      @prepareMessage formOutput, callback, newMessageBar

    @on 'RefreshMessages', -> newMessageBar?.emit 'RefreshButtonClicked'

    newMessageBar.on 'MessageShouldBeDisowned', do =>
      if not @selection
        newMessageBar.disableMessageActionButtons()
