Backend sends email in case of DB failure, issue #320.