refactored to different email controllers
added rake file