Email error via HTTP

It seems like this is an old problem, it happens on Invoices that use qr codes. We need to move the Qr code into the invoice table.