user->email)->first(); $invitation_team = Team::find($invitation->team->id); $mail = new MailMessage(); $mail->subject('Last Hour: Invitation for ' . $invitation_team->name); $mail->view('emails.invitation-link', [ 'team' => $invitation_team->name, 'email' => $this->user->email, 'invitation_link' => $invitation->link, ]); return $mail; } }