public function addAttachment(string $file, string $content = null, string $contentType = null): MimePart
    {
        return $this->attachments[] = $this->createAttachment($file, $content, $contentType, 'attachment');
    }