adds email layouts and sets them to every email sent from app.