Don't output empty EML files in case of error