def METHOD_NAME(
    mailchimp_transactional_connection_config, mailchimp_transactional_identity_email
) -> Generator:
    """
    Adds user to the Mailchimp Transactional Allowlist
    """
    connector = SaaSConnector(mailchimp_transactional_connection_config)
    connector.set_saas_request_state(
        SaaSRequest(path="test_path", method=HTTPMethod.GET)
    )  # dummy request as connector requires it
    request: SaaSRequestParams = SaaSRequestParams(
        method=HTTPMethod.POST,
        path="/allowlists/add",
        body=json.dumps({"email": mailchimp_transactional_identity_email}),
    )
    response = connector.create_client().send(request)
    body = response.json()
    assert (
        body["email"] == mailchimp_transactional_identity_email
    ), "Identity has been added to allowlist"