public function setPlainText($content) { if ($content !== null) { $this->addPart($content, 'text/plain'); } return $this; }