I'm still a bit unsure if this recursive call of ``render_invoice`` is really safe. I think so, because either the export succeeds and the ``exported`` flag will be set to ``True`` and will eventually try to send the mails, or it will raise an exception and will die.

Independently: shall we raise an Exception here or just log something and ``return``?