Create email_factory.py