title: Yii2 swiftmailer: get generated message
body: <p>I'd like to save into database the sent emails. I'm using Yii2 with Swiftmailer and my question is: is there any way to get the genereated htmlBody (the template with variables) after or before send?</p>
  
  <p>If not how can I generate a view file into <code>$message</code> variable in a model class?</p>
  
  <p>Thank you. </p>