/**
  * EmailModel constructor.
  * @param ConfigurationModel $config
  */
 public function __construct(ConfigurationModel $config)
 {
     $this->db = $config->getDb();
     $this->dbPostfix = $config->getDbPostfix();
     $this->config = $config;
 }