Refactored SendEmail class to be more object-like in name.