$tasks */ public function __construct(public array $tasks, public bool $reminder = false) {} public function envelope(): Envelope { return new Envelope( subject: ($this->reminder ? 'Erinnerung: ' : '').count($this->tasks).' Kalender-Aufgabe(n) auf Portalen', ); } public function content(): Content { return new Content( markdown: 'mail.channel-tasks', ); } }