private void ShowNewEmailWindow()
        {
            var window = new NewEmailWindow(this);
            window.Owner = Application.Current.MainWindow;
            window.Show();

            this.SetEditedEmailWindow(window);
        }
 private void SetEditedEmailWindow(NewEmailWindow window)
 {
     this.editedEmailWindow = window;
 }