 
     if @channel
       @account =
-        inbound: @channel.options.inbound
-        outbound: @channel.options.outbound
-        meta:     {}
+        inbound: clone(@channel.options.inbound)
+        outbound: clone(@channel.options.outbound)
+        meta: {}
+
+      # remember passwords, do not show in ui
+      if @account.inbound.options && @account.inbound.options.password
+        @inboundPassword = @account.inbound.options.password
+        @account.inbound.options.password = @passwordPlaceholder
+      if @account.outbound.options && @account.outbound.options.password
+        @outboundPassword = @account.outbound.options.password
+        @account.outbound.options.password = @passwordPlaceholder
 
     if @container
       @el.addClass('modal--local')

class App.ChannelEmailNotificationWizard extends App.WizardModal
  elements:
    '.modal-body': 'body'

  events:
    'change .js-outbound [name=adapter]': 'toggleOutboundAdapter'
    'submit .js-outbound':                'probleOutbound'
    'click  .js-close':                   'hide'

  constructor: ->
    super


    # get params
    params = @formParam(e.target)

    if params.options && params.options.password is @passwordPlaceholder
      params.options.password = @outboundPassword

    # let backend know about the channel
    params.channel_id = @channel.id
