fix disappearing email invoice on errors, finally (closes: Bug#35)