add automatic export on new mail event