afterCommit(); } /** * Get the message envelope. */ public function envelope(): Envelope { $jobTitle = $this->interview->job_title ?: 'Candidate Assessment'; $round = $this->interview->round ?: 'R1'; $prefix = $this->recipientType === 'interviewer' ? "Interviewer Reminder (15 Mins): {$this->interview->candidate_name}" : "Interview Reminder (15 Mins): {$this->interview->candidate_name}"; return new Envelope( subject: "{$prefix} - {$jobTitle} ({$round})", ); } /** * Get the message content definition. */ public function content(): Content { return new Content( view: 'emails.interview.reminder', ); } }