'Create a new, inactive ``User`` and ``Profile``, generates a
``RegistrationProfile`` and email its activation key to the
``User``, returning the new ``User``.'

def create_inactive_user(self, username, password, email, locale=settings.LANGUAGE_CODE, text_template=None, html_template=None, subject=None, email_data=None, volunteer_interest=False, **kwargs):

    new_user = User.objects.create_user(username, email, password)
    new_user.is_active = False
    new_user.save()
    Profile.objects.create(user=new_user, locale=locale)
    registration_profile = self.create_profile(new_user)
    self.send_confirmation_email(registration_profile, text_template, html_template, subject, email_data, **kwargs)
    if volunteer_interest:
        statsd.incr('user.registered-as-contributor')
        group = Group.objects.get(name=CONTRIBUTOR_GROUP)
        new_user.groups.add(group)
    return new_user
