[FIX] mail: bad test
[IMP] hr: strenghtening of write()
[IMP]Export Wizard: Improve code to not remove fields from "Fields to Export"on Export all data and remove noncompatible field on selecting Import Compatible Option