def METHOD_NAME(mock_env_devel_environment: dict[str, Any]):
    settings = SMTPSettings.create_from_envs()
    cfg = settings.dict(exclude_unset=True)
    for env_name in cfg:
        assert env_name in os.environ
    cfg = settings.dict()
    config = LoginOptions(**cfg)
    print(config.json(indent=1))
    assert not hasattr(config, "SMTP_SENDER"), "was deprecated and now we use product"