[Feature] [Server]: add authentication email templates and improve ATS reliability#163
Merged
Gautam25Raj merged 1 commit intoJun 28, 2026
Conversation
- Implemented `renderLoginAlertEmail` for notifying users of new logins. - Created `renderOtpEmail` for sending one-time passwords for various actions. - Developed `renderWelcomeEmail` to welcome new users and guide them to start using the platform. refactor: enhance ATS AI service with nullable fields - Updated schemas in `atsAiService` to handle nullable strings and arrays, improving resilience against missing data. fix: adjust ATS quota service to handle TTL correctly - Fixed TTL calculation in `atsQuotaService` to ensure accurate reset times for user quotas. test: add comprehensive tests for authentication and email services - Created tests for rate limiting middleware, mailer functions, and better auth configuration. - Ensured resilience in parsing LLM conversion outputs with null or missing fields. chore: update mock template library for improved project rendering - Enhanced `AtelierTemplate` and `SignalTemplate` to filter and display visible sections and items correctly.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This pull request introduces a new set of authentication email templates for user onboarding and security notifications while improving the resilience of the ATS AI pipeline. It also includes fixes for quota reset calculations, expanded test coverage, and template rendering improvements.
What's Changed
Authentication & Email
ATS Improvements
Testing
Template Improvements
AtelierandSignaltemplates.Notes
Type of Change
Checklist