sendEmail fix.