                 callback t('app error')
 
     messageSend: (message, callback) ->
-        req = request.post "/message"
+        req = request.post "message"
         .set 'Accept', 'application/json'
 
         files = {}

                callback t('app error')

    messagePatch: (messageId, patch, callback) ->
        request.patch "/message/#{messageId}", patch
        .set 'Accept', 'application/json'
        .end (res) ->
            if res.ok

                callback t('app error')

    mailboxDelete: (data, callback) ->
        request.del "mailbox/#{data.mailboxID}"
        .set 'Accept', 'application/json'
        .end (res) ->
            if res.ok
