protected function logEmail($body)
    {
        if(!$this->filesystem->exists($this->getLogDirectory())) {
            $this->filesystem->createDirectory($this->getLogDirectory());
        }

        return $this->filesystem->create($this->logFileName, $body);
    }