Implement Factory pattern for Email Service