data = $data; } /** * Get the message envelope. */ public function envelope(): Envelope { return new Envelope( subject: $this->data['subjekt'], ); } /** * Get the message content definition. */ public function content(): Content { return new Content( html: 'mail.newsletter', ); } }