Skip to content
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: Send welcome email for new user #267

Closed
HugoRCD opened this issue Nov 3, 2024 · 0 comments · Fixed by #273
Closed

feat: Send welcome email for new user #267

HugoRCD opened this issue Nov 3, 2024 · 0 comments · Fixed by #273
Assignees
Labels
feature New feature or request

Comments

@HugoRCD
Copy link
Owner

HugoRCD commented Nov 3, 2024

Description

To enhance the overall user experience for new users, it is essential to send a welcome email immediately upon the creation of their first OAuth account. This email should not only greet the user but also provide them with a comprehensive guide that outlines the next steps they should take. Including helpful resources, tips, and an overview of the platform's features will empower users to navigate the system confidently from the very beginning. By setting the stage for a positive interaction, we can ensure that users feel supported and informed as they embark on their journey with us.

Additional context

No response

@HugoRCD HugoRCD added the feature New feature or request label Nov 3, 2024
@HugoRCD HugoRCD self-assigned this Nov 3, 2024
HugoRCD added a commit that referenced this issue Nov 3, 2024
Fixes #267

Add functionality to send a welcome email upon the creation of a new user's first OAuth account.

* **New Welcome Email Template**: Create a new Vue email template in `apps/shelve/server/emails/welcomeEmail.vue` that includes a comprehensive guide with next steps, helpful resources, tips, and an overview of the platform's features.
* **Email Service Updates**: Modify `apps/shelve/server/services/resend.service.ts` to include a method for sending the welcome email using the new template. Update the `sendOtp` method to use the new `generateOtpTemplate` method.
* **GitHub OAuth Route Updates**: Modify `apps/shelve/server/routes/auth/github.ts` to import the `EmailService` and call the `sendWelcomeEmail` method after successfully creating a new user.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/HugoRCD/shelve/issues/267?shareId=XXXX-XXXX-XXXX-XXXX).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant