title: Laravel Notification is not mailed
body: <p>i am using the notifications for the first time and got stuck on a problem.
  Implemented a "Welcome" Notification via "mail" and "database".
  The "database" thing is ok and works well.
  The Problem is the "mail" part. When triggering the notification via "artisan tinker", all is well and the mail is send (configured with "log" to write it to "laravel.log"). When using the exact same line of code like in Laravel, the db row is written, but no mail is send.</p>
  
  <p>One word to the tinker: The log entry is NOT written in the moment i post my code on the command line, it is written to log when i say "quit" in tinker.</p>
  
  <p>Any thoughts what went wrong???</p>
  
  <p>Here is my Notification (Welcome.php):</p>
  
  <pre><code>&lt;?php
  
  namespace App\Notifications;
  
  use App\Model\Account;
  use App\Model\ClientSettings;
  use App\Model\Mailserver;
  use App\Model\Mailtemplate;
  use Illuminate\Bus\Queueable;
  use Illuminate\Contracts\Queue\ShouldQueue;
  use Illuminate\Notifications\Notification;
  use Illuminate\Notifications\Messages\MailMessage;
  
  class Welcome extends Notification implements ShouldQueue
  {
      use Queueable;
  
      private $user;
      private $mailserver;
      private $mailmessage;
      private $template;
  
      /**
       * Create a new notification instance.
       *
       * @param \App\Model\Account    $user
       * @param \App\Model\Mailserver $mailserver
       */
      public function __construct(Account $user, Mailserver $mailserver, Mailtemplate $mailtemplate)
      {
          $this-&gt;user = $user;
          $this-&gt;mailserver = $mailserver;
          $this-&gt;mailmessage = null;
          $this-&gt;template = $mailtemplate;
      }
  
      /**
       * Get the notification's delivery channels.
       *
       * @param  mixed $notifiable
       * @return array
       */
      public function via($notifiable)
      {
          return ['mail', 'database'];
      }
  
      /**
       * Get the mail representation of the notification.
       *
       * @param  mixed $notifiable
       * @return \Illuminate\Notifications\Messages\MailMessage
       */
      public function toMail($notifiable)
      {
          $clientsettings = ClientSettings::first();
          $maillogo = '';
  
          if ($clientsettings !== null) {
              $maillogo = $clientsettings-&gt;getMaillogo();
          }
         return (new MailMessage)
             -&gt;subject($this-&gt;template-&gt;subject)
             -&gt;greeting('Very nice Greeting ;)')
             -&gt;salutation($maillogo)
             -&gt;line('Willkommen bei X!')
             -&gt;action('Anmelden', url(config('app.url')))
             -&gt;line('have fun!');
      }
  
      /**
       * Get the array representation of the notification.
       *
       * @param  mixed $notifiable
       * @return array
       */
      public function toArray($notifiable)
      {
          return [
              'id' =&gt; $notifiable-&gt;getAttributes()['ac_id'],
              'email' =&gt; $notifiable-&gt;ac_email,
              'user' =&gt; $this-&gt;user,
              'mailserver' =&gt; $this-&gt;mailserver,
              'mailmessage' =&gt; ($this-&gt;mailmessage !== null) ?: $this-&gt;toMail($notifiable),
          ];
      }
  }
  </code></pre>
  
  <p>The tinker command is:</p>
  
  <pre><code>Notification::send(App\User::find(1), new App\Notifications\Welcome(App\Model\Account::first(), App\Model\Mailserver::first(), App\Model\Mailtemplate::first()));
  </code></pre>
  
  <p>This is the code triggering (very quick and dirty)</p>
  
  <pre><code>    public function sendWelcomeNotification(Request $request): JsonResponse
      {
          $this-&gt;validator = WelcomeStoreRequest::class;
          $inputData = $request-&gt;validate(app($this-&gt;validator)-&gt;rules());
          $user = Account::findOrFail($inputData['user_id']);
          $server = array_key_exists('server_id', $inputData) ? Mailserver::findOrFail($inputData['server_id']) : Mailserver::first();
          $template = Mailtemplate::where('type', '=', 'WELCOME')-&gt;first();
  //        $user-&gt;notify(new Welcome($user, $server, $template));
          Notification::send($user, new Welcome($user, $server, $template));
          return new JsonResponse([
              'status' =&gt; 'ok'
          ]);
      }
  </code></pre>
  
  <p>None of the 2 ways to notify is working :(</p>