refactored to let the Email View be another header footer view