Fixed issue with sendEmail API call