added email layout and partial