Yii extension for sending emails with layouts using PHPMailer