updated the email importer to adapt the model changes