added rspec for email error notifications
removed raise statements from controllers