add views and email handlers