fix send email integration