improve email helper.