Added sendEmail command.