You can configure dynamic content of your emails sent out to your subscribers via the Email Configuration page under Settings. This article shows a list of template tags you can use to load dynamic relevant content into your email body.

Outstanding invoices

To show a list of outstanding invoices to your customer, you can use the following example to loop over the outstanding invoices and show their amount, status, and a link to a page where a customer can pay their invoice directly.

<table width="100%">
{% for invoice in outstanding_invoices %}
  <tr>
    <td>{{invoice.number}}</td>
    <td>{{invoice.amount}}</td>
    <td>{{invoice.status}}</td>
    <td><a href="{{invoice.pay_now_url}}">Show invoice</a></td>
  </tr>
{% endfor %}
</table>
Did this answer your question?