@celery.task
def send_activation_token(user):
 token = make_token(user=user, operation='activate_account')
 send_email(subject=_('Account Activation'), recipients=[user.email], text_body=render_template('email/activate_account.txt', user=user, token=token), html_body=render_template('email/activate_account.html', user=user, token=token))

@ celery . task def send_activation_token ( user ) : token = make_token ( user = user , operation = 'activate_account' ) send_email ( subject = _ ( 'Account Activation' ) , recipients = [ user . email ] , text_body = render_template ( 'email/activate_account.txt' , user = user , token = token ) , html_body = render_template ( 'email/activate_account.html' , user = user , token = token ) )
sends the activation token to the users email address .