'Migrate EmailBox: merge with Stream'

def forwards(self, orm):

    for stream in orm['messaging.MessageStream'].objects.all():
        if stream.email_incoming:
            stream.incoming_server_name = stream.email_incoming.server_name
            stream.incoming_server_type = stream.email_incoming.server_type
            stream.incoming_server_username = stream.email_incoming.server_username
            stream.incoming_password = stream.email_incoming.server_password
            stream.save()
        if stream.email_outgoing:
            stream.outgoing_email = stream.email_outgoing.server_username
            stream.outgoing_server_name = stream.email_outgoing.server_name
            stream.outgoing_server_type = stream.email_outgoing.server_type
            stream.outgoing_server_username = stream.email_outgoing.server_username
            stream.outgoing_password = stream.email_outgoing.server_password
            stream.save()
