Skip to content

feat(email): add independent send-link endpoint and transactional ema…#93

Merged
Afeh merged 3 commits into
devfrom
feat/livekit-email-invite
May 30, 2026
Merged

feat(email): add independent send-link endpoint and transactional ema…#93
Afeh merged 3 commits into
devfrom
feat/livekit-email-invite

Conversation

@Bnabdulwasiu
Copy link
Copy Markdown
Collaborator

📖 Description

Adds an independent endpoint to send transactional LiveKit room invitations via email, integrates dynamic HTML templates, and includes robustness fixes for local E2E developer testing.

🚀 Key Changes

  • Email Template: Added a styled HTML invitation template at app/templates/emails/interview_invite.html with room access instructions.
  • Email Service: Added send_interview_link_email using the Resend client in app/services/email_service.py.
  • API Route: Added the independent POST /api/v1/interviews/{interview_id}/send-link endpoint to allow custom recipient email sharing.
  • E2E Robustness: Added backend candidate auto-creation on interview creation to prevent 404 errors, and a graceful fallback to a default mock plan if the local GEMINI_API_KEY is missing/invalid.

🧪 Verification

Ran backend integration tests:

  • uv run pytest tests/test_interviews.py14/14 tests PASSED (100% success rate).

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 30, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: b00ecb94-90e9-4d6d-8b62-3c93ffaa4d3f

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/livekit-email-invite

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@Bnabdulwasiu Bnabdulwasiu requested a review from Afeh May 30, 2026 14:23
@abdulrahmontim abdulrahmontim force-pushed the feat/livekit-email-invite branch from 3a5e55a to 1364962 Compare May 30, 2026 14:49
@Afeh Afeh merged commit f4aff3e into dev May 30, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants