Skip to content

Conversation

@rajat1saxena
Copy link
Member

This commit introduces the email templates feature, allowing you to create reusable templates for broadcast and sequence emails.

Backend:

  • Added EmailTemplate model.
  • Implemented GraphQL queries (getEmailTemplate, getEmailTemplates) and mutations (createEmailTemplate, updateEmailTemplate, deleteEmailTemplate) for email templates.
  • Added logic for the new GraphQL operations.

Frontend:

  • Added a 'Templates' tab to the /dashboard/mails page.
  • Created a TemplatesList component to display email templates.
  • Created an email template editor page.
  • Created a new page for selecting a template when creating a new broadcast or sequence.
  • Updated the createSequence mutation to accept title and content from a template.

This commit introduces the email templates feature, allowing you to create reusable templates for broadcast and sequence emails.

Backend:
- Added `EmailTemplate` model.
- Implemented GraphQL queries (`getEmailTemplate`, `getEmailTemplates`) and mutations (`createEmailTemplate`, `updateEmailTemplate`, `deleteEmailTemplate`) for email templates.
- Added logic for the new GraphQL operations.

Frontend:
- Added a 'Templates' tab to the `/dashboard/mails` page.
- Created a `TemplatesList` component to display email templates.
- Created an email template editor page.
- Created a new page for selecting a template when creating a new broadcast or sequence.
- Updated the `createSequence` mutation to accept `title` and `content` from a template.
@vercel
Copy link

vercel bot commented Nov 16, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
courselit-docs Ready Ready Preview Comment Nov 16, 2025 5:39am

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.

2 participants