         if @props.nextID?
             next = @props.nextID
         else next = @props.prevID
-        if (not @state.messageConfirmDelete) or
+        if (not @props.settings.get('messageConfirmDelete')) or
         window.confirm(t 'mail confirm delete', {subject: message.get('subject')})
             MessageActionCreator.delete message, (error) =>
                 if error?

            @_markRead @props.message
            state.messageDisplayHTML   = props.settings.get 'messageDisplayHTML'
            state.messageDisplayImages = props.settings.get 'messageDisplayImages'
            state.messageConfirmDelete = props.settings.get 'messageConfirmDelete'
        @setState state

    _markRead: (message) ->

            headers: false
            messageDisplayHTML:   @props.settings.get 'messageDisplayHTML'
            messageDisplayImages: @props.settings.get 'messageDisplayImages'
        }

    propTypes:
