layout needs to ignore email templates