def enqueue_feedback_message_instant_email_task(user_id, reference):
 payload = {'user_id': user_id, 'reference_dict': reference.to_dict()}
 taskqueue_services.enqueue_task(feconf.TASK_URL_INSTANT_FEEDBACK_EMAILS, payload, 0)

def enqueue_feedback_message_instant_email_task ( user_id , reference ) : payload = { 'user_id' : user_id , 'reference_dict' : reference . to_dict ( ) } taskqueue_services . enqueue_task ( feconf . TASK_URL_INSTANT_FEEDBACK_EMAILS , payload , 0 )
adds a send feedback email task into the task queue .