public function getAttachments() : array { return isset($this->parts['attach']['pid']) ? $this->parts['attach']['pid'] : []; }