public function saveEmailConfiguration(EmailConfiguration $emailConfiguration)
 {
     try {
         $emailConfiguration->save();
     } catch (Exception $e) {
         throw new DaoException($e->getMessage());
     }
 }