title: Laravel - How to access $notifiable from within email template
body: <p>Laravel 5.5 app: I decided to customize my mail templates, so I ran the following artisan commands:</p>
  
  <pre><code>artisan publish:vendor --tag=laravel-mail
  artisan publish:vendor --tag=laravel-notifications
  </code></pre>
  
  <p>Then I decided to edit the copyright info at the bottom of <code>resources/views/vendor/mail/html/message.blade.php</code> so I could add some links beneath that, but in order to generate those links, I need access to the <code>$notifiable</code> entity. Only problem is, I can't find any way to access it from within the template. I would prefer not to have to pass <code>$notifiable</code> to a view each and every time I send an email. But, even if I pass <code>$notifiable</code> to the view from the notification's <code>toMail()</code> method, like so:</p>
  
  <pre><code>public function toMail($notifiable)
  {
      return (new MailMessage)
          -&gt;subject('Verify Email')
          -&gt;markdown('mail.email-verification-email', [
              'notifiable' =&gt; $notifiable
          ]);
  }
  </code></pre>
  
  <p>I still can't access it from the file mentioned above. It throws an error unless I check if the variable is set, and it never is.</p>
  
  <p>I stumbled across <a href="https://stackoverflow.com/questions/48450809/laravel-get-email-recipient-from-within-the-mail-template">this answer</a> here on Stack Overflow, but I don't understand how the answer solves the issue. I think the answer is addressing a slightly different issue.</p>