Add sendEmail() support.