Added support for setting email layout via $params['layout'] or via $cfg['email_layout'] for PC_utils::sendEmail() method.