title: Laravel 8 Mail Notifications
body: <p>I'm using Laravel 8, and my Client asks to be able to modify the mailables content.</p>
  <p>I need to show the different notification templates, and let the users add text, action buttons, etc.</p>
  <p>I'm thinking on building a DB structure to store the different fields with the corresponding order, but I'm not sure if it is possible to apply that on the toMail method.</p>
  <p>For example: a NotificationTemplate Model that hasMany NotificationField (this can have type and content).</p>
  <p>And then try to use it as a query builder:</p>
  <pre><code>/**
   * Get the mail representation of the notification.
   *
   * @param  mixed  $notifiable
   * @return \Illuminate\Notifications\Messages\MailMessage
   */
  public function toMail($notifiable)
  {
      $fields = NotificationTemplate::where('name', 'example')-&gt;fields;
      
      $mail =  (new MailMessage);
  
      foreach($fields as $field){
          if($field-&gt;$type = 'line'){
              $mail-&gt;line($field-&gt;content);
          }
      }
  
      return $mail;
  }
  </code></pre>
  <p>Is this possible? Or is there another way to allow the admins of a Laravel 8 app to modify the Mail notificiation message from the frontend?</p>
  <p>Thanks, Hernán.</p>