Yii extension for sending or saving emails