$blockers why the automatic offer was not sent (automatic mode only) */ public function __construct(public Booking $booking, public bool $offerSent = false, public array $blockers = []) {} public function envelope(): Envelope { return new Envelope( subject: ($this->offerSent ? 'Angebot automatisch versendet' : 'Neue Anfrage').' '.$this->booking->reference.': '.$this->booking->guest->full_name.', '.$this->booking->arrival->format('d.m.').'–'.$this->booking->departure->format('d.m.Y'), replyTo: [new Address($this->booking->guest->email, $this->booking->guest->full_name)], ); } public function content(): Content { return new Content( markdown: 'mail.new-reservation', ); } }