Refactored AutomationUtilities and SendMailWithAttachment classes