                 div className: 'clearfix', null
 
     _initCompose: ->
+
+        if @_saveInterval
+            window.clearInterval @_saveInterval
+        @_saveInterval = window.setInterval @_autosave, 30000
+
         # scroll compose window into view
         @getDOMNode().scrollIntoView()
         if @state.composeInHTML

                        # mail sent close the pane
                        @redirect @buildClosePanelUrl @props.layout


    onDelete: (args) ->
        if window.confirm(t 'mail confirm delete')

                if error?
                    LayoutActionCreator.alertError "#{msgKo} :  error"
                else
                    LayoutActionCreator.notify msgOk
                    @setState message

                    if callback?
