 
     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, newMessageBar

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

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

      @prepareMessage formOutput, callback

    nc = KD.getSingleton 'notificationController'
    nc.on 'PrivateMessageSent', =>
      @emit 'PrivateMessageReceived'
    nc.on 'ReplyIsAdded', ({subject:{constructorName}})=>
      @emit 'PrivateMessageReceived'  if constructorName is 'JPrivateMessage'

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