$references * @param list $to */ public function __construct( public string $messageId, public string $from, public string $subject, public string $text, public CarbonImmutable $receivedAt, public ?string $inReplyTo = null, public array $references = [], public array $to = [], public ?string $fromName = null, ) {} }