Fixed email service sendEmail always returning nothing.