fixed a bug where EmailContextAttribute did not create a view with ViewModelBase model