Skip to content

feat: add Resend email integration for magic links (AP-13)#5

Merged
AlexVOiceover merged 4 commits intomainfrom
feature/ap-13-resend-email-integration
Dec 26, 2025
Merged

feat: add Resend email integration for magic links (AP-13)#5
AlexVOiceover merged 4 commits intomainfrom
feature/ap-13-resend-email-integration

Conversation

@AlexVOiceover
Copy link
Contributor

Summary

  • Add Resend email integration for sending magic link emails
  • Update login endpoints to send actual emails instead of logging to console
  • Configure verified sender domain

Changes

  • Email module: src/lib/server/email.ts with sendMagicLinkEmail() function
  • Staff login: Updated to send email via Resend
  • Student login: Updated to send email via Resend
  • Tests: Mocked email module for unit tests

Test plan

  • Run npm run test - 28 tests pass
  • Run npm run lint - passes
  • Manual test: Receive magic link email

Related

Closes AP-13

@AlexVOiceover AlexVOiceover merged commit 46f4ff7 into main Dec 26, 2025
2 checks passed
@AlexVOiceover AlexVOiceover deleted the feature/ap-13-resend-email-integration branch January 7, 2026 21:24
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.

1 participant