Как мне в sentry_sdk передать еще user.email? Чтобы я мог потом посмотреть, у кого произошла эта ошибка в Sentry:
@shared_task
def process_file(file_id, user_id, language_code):
    file_instance = get_object_or_404(File, id=file_id)
    user = User.objects.get(id=user_id)
    audio_file_path = convert_to_audio(file_instance.file.path)

    if audio_file_path is None:
        return

    config = aai.TranscriptionConfig(
        speaker_labels=True,
        language_code=language_code,
    )
    transcriber = aai.Transcriber()

    try:
        audio_url = transcriber.upload_file(audio_file_path)
        transcript = transcriber.transcribe(audio_url, config=config)

        speakers = {}

        for utterance in transcript.utterances:
            if utterance.speaker not in speakers:
                speakers[utterance.speaker] = create_or_get_speaker(
                    utterance.speaker, file_instance
                )

        transcription_text = transcript.text

        process_transcription(transcript, file_instance, speakers)

        action_type_id = TranscriptionActionType.objects.get_or_create(
            name_en="Summary",
            defaults={
                "system_content": "You are a text summarization assistant that provides very concise summaries. "
                "The summary must be under 180 characters.",
                "user_content": "Provide a summary of the text '${text}' in ${language}. "
                                "You are a text summarization assistant that provides concise summaries. "
                                "Ensure the summary is under 180 characters and is written in the requested language.",
            },
        )[0].id

        transcription_action_id = prompt.delay(
            transcription_text, action_type_id, file_id, language_code
        ).get(disable_sync_subtasks=False)

        s3_client.upload_file(audio_file_path, file_instance.s3_key)

        file_instance.is_transcribed = True
        file_instance.summary = TranscriptionAction.objects.get(
            id=transcription_action_id
        ).content
        file_instance.save()
        FailedTranscriptionTask.objects.filter(file_id=file_id).delete()
        subject = "Транскрибация файла готова!"
        to_email = user.email
        link_to_transcription = f"{APP_URL}/transcription/{file_id}/"
        send_transcription_email.delay(
            to_email,
            re.match(r"^.{0,100}", transcription_text).group(0) + "...",
            link_to_transcription,
            file_instance.true_file_name,
            subject,
        )
    except Exception as e:
        error_message = f"An error occurred inside transcription: {e}"
        print(error_message)
        sentry_sdk.capture_message(f"Transcription has been failed: {e}", level="error")

        failed_task, created = FailedTranscriptionTask.objects.get_or_create(
            file=file_instance,
            defaults={
                'user': user,
                'language_code': language_code,
                'error_message': str(e),
                'retry_count': 0,
            }
        )
        if not created:
            failed_task.error_message = str(e)
            failed_task.retry_count += 1
            failed_task.last_attempted_at = timezone.now()
            failed_task.save()

        return "error"
    finally:
        cleanup_files([audio_file_path, file_instance.file.path])