Skip to content

feat: integrated Resend API to sent email notifications for ticket up… - #17

Merged
Miuroro merged 2 commits into
mainfrom
feat/ticket-email-notifications
Jun 17, 2026
Merged

Miuroro merged 2 commits into
mainfrom
feat/ticket-email-notifications

Conversation

@Miuroro

@Miuroro Miuroro commented Jun 16, 2026

Copy link
Copy Markdown
Owner

🚀 Description

This update sets up an email notification system using the Resend API. Now, whenever an existing ticket is updated, the app looks up who is assigned to that ticket and automatically sends them a notification email with a nice HTML layout.

I also removed the hardcoded secret API key from the properties file and changed it to use a safe environment variable instead.

🛠️Changes Made

  • EmailService.java: Set up the connection to the Resend API and created the HTML email template layout.
  • TicketService.java: Added the logic to find ticket assignees in the database and trigger the email whenever a ticket changes.
  • application.properties: Replaced the hidden API key with ${RESEND_API_KEY} .

@Miuroro Miuroro linked an issue Jun 16, 2026 that may be closed by this pull request
@Miuroro
Miuroro merged commit 200320a into main Jun 17, 2026
1 check 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.

Issue : Create Email Service File and Integration Protocol.

1 participant