Skip to content

Email provider integration#74

Merged
Alaa2019-ml merged 6 commits intodevelopfrom
email-provider-integration
Feb 17, 2026
Merged

Email provider integration#74
Alaa2019-ml merged 6 commits intodevelopfrom
email-provider-integration

Conversation

@Alaa2019-ml
Copy link
Contributor

I used a Gmail account for StudyBridge because creating a custom domain email requires buying a domain and potentially paying for email hosting. As the project is still in its early stage, Gmail was a free and practical solution.

Copilot AI review requested due to automatic review settings February 17, 2026 12:52
@HackYourFutures HackYourFutures temporarily deployed to study-bridge-email-prov-ypcznm February 17, 2026 12:52 Inactive
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds production email provider integration using Gmail SMTP. Previously, the email service only supported development mode with Ethereal test accounts and threw an error in production. The changes enable the application to send real emails in production using configurable SMTP settings.

Changes:

  • Added production SMTP configuration with environment variable support (SMTP_HOST, SMTP_PORT, SMTP_SECURE, SMTP_USER, SMTP_PASS)
  • Created getRequiredEnv helper function for validating required environment variables
  • Made email sender address configurable via EMAIL_FROM environment variable
  • Refactored transporter initialization to separate production and development logic

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@HackYourFutures HackYourFutures temporarily deployed to study-bridge-email-prov-ypcznm February 17, 2026 12:58 Inactive
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@HackYourFutures HackYourFutures temporarily deployed to study-bridge-email-prov-ypcznm February 17, 2026 12:59 Inactive
@HackYourFutures HackYourFutures temporarily deployed to study-bridge-email-prov-ypcznm February 17, 2026 13:21 Inactive
@Alaa2019-ml Alaa2019-ml merged commit e569aa2 into develop Feb 17, 2026
2 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.

3 participants

Comments