send email sms: bug fixes