adding email layout and patrol view