for($purpose); if ($box === null) { // No mailbox configured yet — fall back to the framework default so // an installation mid-setup still sends rather than crashing. return new Envelope(subject: $subject); } return new Envelope( from: new Address($box->address, $box->display_name ?: null), replyTo: $box->no_reply ? [] : [new Address($box->address, $box->display_name ?: null)], subject: $subject, ); } }