def get_users():
    # Exclude unconfirmed and unregistered users
    # NOTE: Unclaimed and unconfirmed users have is_registered=False
    return User.find(Q('is_registered', 'eq', True))
Get all users who will be subscribed to the OSF General mailing list.
dataset/ETHPy150Open CenterForOpenScience/osf.io/scripts/sync_email.py/get_users