Undefined variable when trying to send a recover password mail LARAVEL
<pre><code>public function postForgotPassword(Request $request)
{
    if (\Auth::check() ) {
        return redirect('/');
    }

    $user = \User::where("email", $request-&gt;input('email'))-&gt;get()-&gt;first();

    $signature = (array(
        "owner_name" =&gt; "Test",
        "owner_rank" =&gt; "Super Admin"
    ));

    $data = array(
            "first_name" =&gt; $user-&gt;first_name,
            "last_name" =&gt; $user-&gt;last_name,
            "email" =&gt; $user-&gt;email,
            "link" =&gt; ******,
            "signature" =&gt; $signature
        );
        \Mail::send('email.password', $data, function($message) use ($user) {
            $message-&gt;from("admin@test.com", "Test");
            $message-&gt;to($user-&gt;email, $user-&gt;first_name." ".$user-&gt;last_name)-&gt;subject("Reset your password.");
        });

        return response()-&gt;json(["success" =&gt; true, "message" =&gt; "Check your email!"]);
    }
</code></pre>

<p>My email template looks like this:</p>

<pre><code>&lt;div id="email"&gt;
    &lt;div style="width: 600px;"&gt;
        &lt;div style="width: 300px; float: left;"&gt;
            &lt;h3&gt;{{ $last_name }} {{ $name }},&lt;/h3&gt;
        &lt;/div&gt;
   &lt;/div&gt;
&lt;/div&gt;
</code></pre>

<p>When I try to send the email I get this error:</p>

<blockquote>
  <p>Undefined variable: name</p>
</blockquote>

<p>Any ideas why? Thank you all for your time!</p>