define Panel layout; export HTML for PDF; send email