layout and email handling