updated send email logic to use we-send-email node module