added email model, view, controller