Fix eml template to accept null lists everywhere, allow metadata indexing to throw exceptions without bringing down the entire indexing