add sendEmail_withoutUI