-
-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Add email template for sending OTP to the user #582
feat: Add email template for sending OTP to the user #582
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you drop a preview of how this looks?
@rajdip-b Can you review the changes made? |
User description
Description
This PR adds an email template for sending OTP to the user.
Fixes #51
Dependencies
No new dependencies introduced.
Future Improvements
N/A
Mentions
@rajdip-b
Screenshots of relevant screens
Developer's checklist
If changes are made in the code:
Documentation Update
PR Type
Enhancement
Description
OTPEmailTemplate
for sending OTP emails with a vibrant design.common-styles.ts
to support the new OTP email template.Changes walkthrough 📝
otp-email-template.tsx
Add OTP Email Template Component
apps/api/src/mail/emails/otp-email-template.tsx
BaseEmailTemplate
for consistent styling.common-styles.ts
Update Styles for OTP Email Template
apps/api/src/mail/emails/styles/common-styles.ts
otpStyle
for styling OTP text.workspaceDetails
style for better appearance.mail.service.ts
Integrate OTP Email Template in Mail Service
apps/api/src/mail/services/mail.service.ts