def user_registered_cb(user, **kwargs):
    siteconfig = SiteConfiguration.objects.get_current()

    if siteconfig.get('mail_send_new_user_mail'):
        mail_new_user(user)
Send e-mail when a user is registered.
dataset/ETHPy150Open reviewboard/reviewboard/reviewboard/notifications/email.py/user_registered_cb