Adapting email layout