Restore write to log table in extrainfo field upon importing an xml file...

... for loads and fails alike

But I don't like the fact that EmailUtils are used to collect the errors. Perhaps this should be put somewhere else where both adding to the log and email utils can use them.