public function getTextLog() { if ($this->getEmailLogExistsText()) { return file_get_contents(PIMCORE_LOG_MAIL_PERMANENT . '/email-' . $this->getId() . '-text.log'); } }