$conflicts reported for the first time * @param list $reminders reported before, still unread and still detected */ public function __construct(public Channel $channel, public array $conflicts, public array $reminders = []) {} public function envelope(): Envelope { return new Envelope( subject: ($this->conflicts === [] ? 'Erinnerung' : 'Achtung').': mögliche Doppelbuchung über '.$this->channel->name, ); } public function content(): Content { return new Content( markdown: 'mail.channel-conflict', ); } }