website page testing, and refactoring the Email model