Skip to content

Modern Docker Management, Designed for Everyone

refactor: inline notification email templates in Go (#4517)

Kyle Mendell5b8c14016d11
diff --git a/.dockerignore b/.dockerignore
index 27ec9ba7d..a4ab6b48e 100644
--- a/.dockerignore
+++ b/.dockerignore
@@ -50,8 +50,6 @@ frontend/src/paraglide
# Workspace manifests are required by the frontend dependency install
/tests/**
!/tests/package.json
-/email-templates/**
-!/email-templates/package.json
# Local runtime data and binaries; keep platform binaries used by static images
/data
diff --git a/backend/api/api_test.go b/backend/api/api_test.go
index 0e78de956..1c879b346 100644
--- a/backend/api/api_test.go
+++ b/backend/api/api_test.go
@@ -243,7 +243,6 @@ func TestSetupAPIForSpec_PublicRoutesOverrideSecurity(t *testing.T) {
method string
}{
{path: "/app-images/logo", method: "GET"},
- {path: "/app-images/logo-email", method: "GET"},
{path: "/app-images/favicon", method: "GET"},
{path: "/app-images/profile", method: "GET"},
{path: "/app-images/pwa/{filename}", method: "GET"},
diff --git a/backend/internal/appimages/handler.go b/backend/internal/appimages/handler.go
index 2873b8742..70b2af1ad 100644
--- a/backend/internal/appimages/handler.go
+++ b/backend/internal/appimages/handler.go
@@ -56,11 +56,6 @@ func (h *AppImagesHandler) GetLogo(ctx context.Context, input *GetLogoInput) (*G
return h.getImageWithColor(name, input.Color, input.Loop)
}
-// GetLogoEmail returns the application logo image for emails (PNG).
-func (h *AppImagesHandler) GetLogoEmail(ctx context.Context, input *struct{}) (*GetAppImageOutput, error) {
- return h.getImageWithColor("logo-email", "", false)
-}
-
// GetFavicon returns the application favicon image.
func (h *AppImagesHandler) GetFavicon(ctx context.Context, input *struct{}) (*GetAppImageOutput, error) {
return h.getImageWithColor("favicon", "", false)
@@ -91,7 +86,7 @@ func (h *AppImagesHandler) getImageWithColor(name, colorOverride string, loop bo
// Disable branding caching so theme and build-channel artwork is reflected immediately.
_, isPWAIcon := allowedPWAIconFilenames[name+".png"]
- isBranding := IsLogoVariant(name) || isPWAIcon || name == "logo-email" || name == "favicon"
+ isBranding := IsLogoVariant(name) || isPWAIcon || name == "favicon"
cacheControl := kit.Ternary(
isBranding || colorOverride != "",
"no-cache, no-store, must-revalidate",
diff --git a/backend/internal/appimages/module.go b/backend/internal/appimages/module.go
index 4c22d28c9..2faa47d90 100644
--- a/backend/internal/appimages/module.go
+++ b/backend/internal/appimages/module.go
@@ -22,16 +22,6 @@ func RegisterAppImages(api huma.API, appImagesService *ApplicationImagesService)
Security: []map[string][]string{},
}, h.GetLogo)
- huma.Register(api, huma.Operation{
- OperationID: "get-logo-email",
- Method: http.MethodGet,
- Path: "/app-images/logo-email",
- Summary: "Get application logo for email",
- Description: "Get the application logo image in PNG format for emails",
- Tags: []string{"Application Images"},
- Security: []map[string][]string{},
- }, h.GetLogoEmail)
-
huma.Register(api, huma.Operation{
OperationID: "get-favicon",
Method: http.MethodGet,
diff --git a/backend/internal/appimages/service_test.go b/backend/internal/appimages/service_test.go
index b90311d46..fcb46734a 100644
--- a/backend/internal/appimages/service_test.go
+++ b/backend/internal/appimages/service_test.go
@@ -53,10 +53,6 @@ func TestNewApplicationImagesService_StableBuildUsesStandardBranding(t *testing.
data, _, err := svc.GetImageWithColor("favicon", "", false)
require.NoError(t, err)
assert.Equal(t, readEmbedded(t, "images/favicon.ico"), data)
-
- data, _, err = svc.GetImageWithColor("logo-email", "", false)
- require.NoError(t, err)
- assert.Equal(t, readEmbedded(t, "images/logo-email.png"), data)
}
func TestNewApplicationImagesService_NonStableBuildUsesDevelopmentBranding(t *testing.T) {
@@ -92,11 +88,6 @@ func TestNewApplicationImagesService_NonStableBuildUsesDevelopmentBranding(t *te
assert.Equal(t, []byte{0, 0, 1, 0}, data[:4])
assert.NotEmpty(t, mimeType)
- data, mimeType, err = svc.GetImageWithColor("logo-email", "", false)
- require.NoError(t, err)
- assert.Equal(t, "image/png", mimeType)
- assert.Equal(t, readEmbedded(t, "images/development/logo-email.png"), data)
-
data, _, err = svc.GetImageWithColor("profile", "", false)
require.NoError(t, err)
assert.Equal(t, readEmbedded(t, "images/profile.webp"), data)
@@ -125,7 +116,6 @@ func TestGetImageWithColor_DevelopmentBrandingDisabledUsesStandardBranding(t *te
for name, file := range map[string]string{
"favicon": "images/favicon.ico",
- "logo-email": "images/logo-email.png",
"icon-192x192": "images/icon-192x192.png",
} {
data, _, getErr := svc.GetImageWithColor(name, "", false)
diff --git a/backend/internal/notification/children/templates/helpers.go b/backend/internal/notification/children/templates/helpers.go
new file mode 100644
index 000000000..6eddf4fb6
--- /dev/null
+++ b/backend/internal/notification/children/templates/helpers.go
@@ -0,0 +1,41 @@
+package templates
+
+import (
+ "bytes"
+ "fmt"
+ "html/template"
+)
+
+const emailLayout = `<!DOCTYPE html>
+<html>
+<body style="font-family: Arial, Helvetica, sans-serif;">
+<h2>{{.Title}}</h2>
+{{if .Intro}}<p>{{.Intro}}</p>{{end}}
+<table cellpadding="6" cellspacing="0" border="0">
+{{range .Rows}}<tr><td><strong>{{.Label}}</strong></td><td>{{.Value}}</td></tr>
+{{end}}</table>
+<p><a href="{{.AppURL}}">Open Arcane</a></p>
+</body>
+</html>`
+
+var emailTemplate = template.Must(template.New("email").Parse(emailLayout))
+
+type emailRow struct {
+ Label string
+ Value string
+}
+
+type emailData struct {
+ Title string
+ Intro string
+ Rows []emailRow
+ AppURL string
+}
+
+func renderEmail(data emailData) (string, error) {
+ var buf bytes.Buffer
+ if err := emailTemplate.Execute(&buf, data); err != nil {
+ return "", fmt.Errorf("failed to execute email template: %w", err)
+ }
+ return buf.String(), nil
+}
diff --git a/backend/internal/notification/children/templates/service.go b/backend/internal/notification/children/templates/service.go
index bbdc0da64..b23c0fba5 100644
--- a/backend/internal/notification/children/templates/service.go
+++ b/backend/internal/notification/children/templates/service.go
@@ -1,13 +1,10 @@
package templates
import (
- "bytes"
+ "cmp"
"fmt"
- "html"
- "html/template"
"maps"
"slices"
- "sort"
"strings"
"time"
@@ -17,11 +14,8 @@ import (
"go.getarcane.app/kit/pkg"
"github.com/getarcaneapp/arcane/backend/v2/pkg/utils/notifications"
- "github.com/getarcaneapp/arcane/backend/v2/resources"
)
-const logoURLPath = "/api/app-images/logo-email"
-
// Service builds the per-event notification content and renders email templates.
type Service struct {
appURL func() string
@@ -39,9 +33,20 @@ func (s *Service) ImageUpdate(environmentName, imageRef string, updateInfo *imag
Title: "Container Image Update",
NtfyTitle: "πŸ“¦ Container Image Update",
RenderEmail: func() (string, string, error) {
- htmlBody, _, err := s.renderEmailTemplateInternal(environmentName, imageRef, updateInfo)
+ htmlBody, err := renderEmail(emailData{
+ Title: "Container Image Update Available",
+ Rows: []emailRow{
+ {Label: "Environment", Value: environmentName},
+ {Label: "Image", Value: imageRef},
+ {Label: "Update Type", Value: updateInfo.UpdateType},
+ {Label: "Current Digest", Value: updateInfo.CurrentDigest},
+ {Label: "Latest Digest", Value: updateInfo.LatestDigest},
+ {Label: "Checked", Value: updateInfo.CheckTime.Format(time.RFC1123)},
+ },
+ AppURL: s.appURL(),
+ })
if err != nil {
- return "", "", fmt.Errorf("failed to render email template: %w", err)
+ return "", "", fmt.Errorf("failed to render email: %w", err)
}
subject := notifications.BuildEmailSubject(environmentName, "Container Update Available: "+notifications.SanitizeForEmail(imageRef))
return subject, htmlBody, nil
@@ -59,9 +64,20 @@ func (s *Service) ContainerUpdate(environmentName, containerName, imageRef, oldD
Title: "Container Updated",
NtfyTitle: "βœ… Container Updated",
RenderEmail: func() (string, string, error) {
- htmlBody, _, err := s.renderContainerUpdateEmailTemplateInternal(environmentName, containerName, imageRef, oldDigest, newDigest)
+ htmlBody, err := renderEmail(emailData{
+ Title: "Container Updated",
+ Rows: []emailRow{
+ {Label: "Environment", Value: environmentName},
+ {Label: "Container", Value: containerName},
+ {Label: "Image", Value: imageRef},
+ {Label: "Old Digest", Value: oldDigest},
+ {Label: "New Digest", Value: newDigest},
+ {Label: "Updated", Value: time.Now().Format(time.RFC1123)},
+ },
+ AppURL: s.appURL(),
+ })
if err != nil {
- return "", "", fmt.Errorf("failed to render email template: %w", err)
+ return "", "", fmt.Errorf("failed to render email: %w", err)
}
subject := notifications.BuildEmailSubject(environmentName, "Container Updated: "+notifications.SanitizeForEmail(containerName))
return subject, htmlBody, nil
@@ -89,9 +105,20 @@ func (s *Service) Vulnerability(environmentName string, payload notification.Dis
NtfyTitle: "πŸ›‘οΈ Daily Vulnerability Summary",
DefaultTitle: defaultTitle,
RenderEmail: func() (string, string, error) {
- htmlBody, _, err := s.renderVulnerabilitySummaryEmailTemplateInternal(environmentName, payload)
+ htmlBody, err := renderEmail(emailData{
+ Title: "Daily Vulnerability Summary",
+ Intro: payload.CVEID,
+ Rows: []emailRow{
+ {Label: "Environment", Value: environmentName},
+ {Label: "Overview", Value: payload.ImageName},
+ {Label: "Fixable Vulnerabilities", Value: payload.FixedVersion},
+ {Label: "Severity Breakdown", Value: payload.Severity},
+ {Label: "Sample CVEs", Value: payload.PkgName},
+ },
+ AppURL: s.appURL(),
+ })
if err != nil {
- return "", "", fmt.Errorf("failed to render summary email template: %w", err)
+ return "", "", fmt.Errorf("failed to render summary email: %w", err)
}
subject := notifications.BuildEmailSubject(environmentName, "Daily Vulnerability Summary: "+notifications.SanitizeForEmail(payload.CVEID))
return subject, htmlBody, nil
@@ -114,12 +141,24 @@ func (s *Service) BatchImageUpdate(environmentName string, updates map[string]*i
Title: "Container Image Updates Available",
NtfyTitle: ntfyTitle,
RenderEmail: func() (string, string, error) {
- htmlBody, _, err := s.renderBatchEmailTemplateInternal(environmentName, updates)
- if err != nil {
- return "", "", fmt.Errorf("failed to render email template: %w", err)
+ rows := []emailRow{{Label: "Environment", Value: environmentName}}
+ for _, imageRef := range slices.Sorted(maps.Keys(updates)) {
+ rows = append(rows, emailRow{
+ Label: imageRef,
+ Value: updates[imageRef].UpdateType,
+ })
}
updateCount := len(updates)
plural := kit.Ternary(updateCount > 1, "s", "")
+ htmlBody, err := renderEmail(emailData{
+ Title: fmt.Sprintf("%d Image Update%s Available", updateCount, plural),
+ Intro: "Checked " + time.Now().Format(time.RFC1123),
+ Rows: rows,
+ AppURL: s.appURL(),
+ })
+ if err != nil {
+ return "", "", fmt.Errorf("failed to render email: %w", err)
+ }
subject := notifications.BuildEmailSubject(environmentName, fmt.Sprintf("%d Image Update%s Available", updateCount, plural))
return subject, htmlBody, nil
},
@@ -139,12 +178,27 @@ func (s *Service) BatchContainerUpdate(environmentName string, entries []notific
Title: "Containers Updated",
NtfyTitle: ntfyTitle,
RenderEmail: func() (string, string, error) {
- htmlBody, _, err := s.renderBatchContainerUpdateEmailTemplateInternal(environmentName, entries)
- if err != nil {
- return "", "", fmt.Errorf("failed to render email template: %w", err)
+ sorted := slices.SortedFunc(slices.Values(entries), func(a, b notifications.ContainerUpdateBatchEntry) int {
+ return cmp.Compare(a.ContainerName, b.ContainerName)
+ })
+ rows := []emailRow{{Label: "Environment", Value: environmentName}}
+ for _, entry := range sorted {
+ rows = append(rows, emailRow{
+ Label: entry.ContainerName,
+ Value: fmt.Sprintf("%s (%s β†’ %s)", entry.ImageRef, entry.OldDigest, entry.NewDigest),
+ })
}
updateCount := len(entries)
plural := kit.Ternary(updateCount > 1, "s", "")
+ htmlBody, err := renderEmail(emailData{
+ Title: fmt.Sprintf("%d Container%s Updated", updateCount, plural),
+ Intro: "Completed " + time.Now().Format(time.RFC1123),
+ Rows: rows,
+ AppURL: s.appURL(),
+ })
+ if err != nil {
+ return "", "", fmt.Errorf("failed to render email: %w", err)
+ }
subject := notifications.BuildEmailSubject(environmentName, fmt.Sprintf("%d Container%s Updated", updateCount, plural))
return subject, htmlBody, nil
},
@@ -163,9 +217,22 @@ func (s *Service) PruneReport(environmentName string, result *system.PruneAllRes
NtfyTitle: kit.Ternary(len(result.Errors) > 0, "⚠️ System Prune Finished with Errors", "🧹 System Prune Complete"),
DefaultTitle: defaultTitle,
RenderEmail: func() (string, string, error) {
- htmlBody, _, err := s.renderPruneReportEmailTemplateInternal(environmentName, result)
+ htmlBody, err := renderEmail(emailData{
+ Title: "System Prune Report",
+ Rows: []emailRow{
+ {Label: "Environment", Value: environmentName},
+ {Label: "Status", Value: kit.Ternary(len(result.Errors) > 0, "Finished with errors: "+strings.Join(result.Errors, "; "), "Completed")},
+ {Label: "Total Reclaimed", Value: notifications.FormatBytes(result.SpaceReclaimed)},
+ {Label: "Containers", Value: notifications.FormatBytes(result.ContainerSpaceReclaimed)},
+ {Label: "Images", Value: notifications.FormatBytes(result.ImageSpaceReclaimed)},
+ {Label: "Volumes", Value: notifications.FormatBytes(result.VolumeSpaceReclaimed)},
+ {Label: "Build Cache", Value: notifications.FormatBytes(result.BuildCacheSpaceReclaimed)},
+ {Label: "Time", Value: time.Now().Format(time.RFC1123)},
+ },
+ AppURL: s.appURL(),
+ })
if err != nil {
- return "", "", fmt.Errorf("failed to render email template: %w", err)
+ return "", "", fmt.Errorf("failed to render email: %w", err)
}
subject := notifications.BuildEmailSubject(environmentName, fmt.Sprintf(
"System Prune Report: %s Reclaimed%s",
@@ -187,13 +254,20 @@ func (s *Service) AutoHeal(environmentName, containerName string) notifications.
NtfyTitle: "β€οΈβ€πŸ©Ή Container Auto-Healed",
DefaultTitle: defaultTitle,
RenderEmail: func() (string, string, error) {
+ htmlBody, err := renderEmail(emailData{
+ Title: "Container Auto-Healed",
+ Intro: "Automatically restarted because it was unhealthy.",
+ Rows: []emailRow{
+ {Label: "Environment", Value: environmentName},
+ {Label: "Container", Value: containerName},
+ },
+ AppURL: s.appURL(),
+ })
+ if err != nil {
+ return "", "", fmt.Errorf("failed to render email: %w", err)
+ }
subject := notifications.BuildEmailSubject(environmentName, fmt.Sprintf("Auto Heal: Container '%s' Restarted", containerName))
- body := fmt.Sprintf(
- "<p><strong>Environment:</strong> %s</p><p><strong>Container:</strong> %s</p><p>Automatically restarted because it was unhealthy.</p>",
- html.EscapeString(environmentName),
- html.EscapeString(containerName),
- )
- return subject, body, nil
+ return subject, htmlBody, nil
},
}
}
@@ -202,184 +276,16 @@ func (s *Service) AutoHeal(environmentName, containerName string) notifications.
func (s *Service) TestEmail(environmentName string) notifications.Content {
return notifications.Content{
RenderEmail: func() (string, string, error) {
- htmlBody, _, err := s.renderTestEmailTemplateInternal(environmentName)
+ htmlBody, err := renderEmail(emailData{
+ Title: "Test Email",
+ Intro: "Your email setup is working correctly!",
+ Rows: []emailRow{{Label: "Environment", Value: environmentName}},
+ AppURL: s.appURL(),
+ })
if err != nil {
- return "", "", fmt.Errorf("failed to render test email template: %w", err)
+ return "", "", fmt.Errorf("failed to render test email: %w", err)
}
return notifications.BuildEmailSubject(environmentName, "Test Email from Arcane"), htmlBody, nil
},
}
}
-
-func (s *Service) renderBatchContainerUpdateEmailTemplateInternal(environmentName string, entries []notifications.ContainerUpdateBatchEntry) (string, string, error) {
- type batchEntry struct {
- ContainerName string
- ImageRef string
- OldDigest string
- NewDigest string
- }
-
- sorted := make([]batchEntry, 0, len(entries))
- for _, entry := range entries {
- sorted = append(sorted, batchEntry{
- ContainerName: entry.ContainerName,
- ImageRef: entry.ImageRef,
- OldDigest: entry.OldDigest,
- NewDigest: entry.NewDigest,
- })
- }
- sort.Slice(sorted, func(i, j int) bool { return sorted[i].ContainerName < sorted[j].ContainerName })
-
- appURL := s.appURL()
- data := map[string]any{
- "LogoURL": appURL + logoURLPath,
- "AppURL": appURL,
- "Environment": environmentName,
- "UpdateCount": len(sorted),
- "CompletedAt": time.Now().Format(time.RFC1123),
- "Entries": sorted,
- }
-
- return s.renderTemplatesInternal("batch-container-updates", data, true)
-}
-
-func (s *Service) renderEmailTemplateInternal(environmentName, imageRef string, updateInfo *imageupdate.Response) (string, string, error) {
- appURL := s.appURL()
- logoURL := appURL + logoURLPath
- data := map[string]any{
- "LogoURL": logoURL,
- "AppURL": appURL,
- "Environment": environmentName,
- "ImageRef": imageRef,
- "HasUpdate": updateInfo.HasUpdate,
- "UpdateType": updateInfo.UpdateType,
- "CurrentDigest": updateInfo.CurrentDigest,
- "LatestDigest": updateInfo.LatestDigest,
- "CheckTime": updateInfo.CheckTime.Format(time.RFC1123),
- }
-
- return s.renderTemplatesInternal("image-update", data, true)
-}
-
-func (s *Service) renderContainerUpdateEmailTemplateInternal(environmentName, containerName, imageRef, oldDigest, newDigest string) (string, string, error) {
- appURL := s.appURL()
- logoURL := appURL + logoURLPath
- data := map[string]any{
- "LogoURL": logoURL,
- "AppURL": appURL,
- "Environment": environmentName,
- "ContainerName": containerName,
- "ImageRef": imageRef,
- "OldDigest": oldDigest,
- "NewDigest": newDigest,
- "UpdateTime": time.Now().Format(time.RFC1123),
- }
-
- return s.renderTemplatesInternal("container-update", data, true)
-}
-
-func (s *Service) renderTestEmailTemplateInternal(environmentName string) (string, string, error) {
- appURL := s.appURL()
- logoURL := appURL + logoURLPath
- data := map[string]any{
- "LogoURL": logoURL,
- "AppURL": appURL,
- "Environment": environmentName,
- }
-
- return s.renderTemplatesInternal("test", data, true)
-}
-
-func (s *Service) renderBatchEmailTemplateInternal(environmentName string, updates map[string]*imageupdate.Response) (string, string, error) {
- // Build list of image names
- imageList := slices.Collect(maps.Keys(updates))
-
- appURL := s.appURL()
- logoURL := appURL + logoURLPath
- data := map[string]any{
- "LogoURL": logoURL,
- "AppURL": appURL,
- "Environment": environmentName,
- "UpdateCount": len(updates),
- "CheckTime": time.Now().Format(time.RFC1123),
- "ImageList": imageList,
- }
-
- return s.renderTemplatesInternal("batch-image-updates", data, true)
-}
-
-func (s *Service) renderVulnerabilitySummaryEmailTemplateInternal(environmentName string, payload notification.DispatchVulnerabilityFound) (string, string, error) {
- appURL := s.appURL()
- logoURL := appURL + logoURLPath
- data := map[string]any{
- "LogoURL": logoURL,
- "AppURL": appURL,
- "Environment": environmentName,
- "SummaryLabel": payload.CVEID,
- "Overview": payload.ImageName,
- "FixableCount": payload.FixedVersion,
- "SeverityBreakdown": payload.Severity,
- "SampleCVEs": payload.PkgName,
- }
-
- return s.renderTemplatesInternal("vulnerability-summary", data, true)
-}
-
-func (s *Service) renderPruneReportEmailTemplateInternal(environmentName string, result *system.PruneAllResult) (string, string, error) {
- appURL := s.appURL()
- logoURL := appURL + logoURLPath
- data := map[string]any{
- "LogoURL": logoURL,
- "AppURL": appURL,
- "Environment": environmentName,
- "TotalSpaceReclaimed": notifications.FormatBytes(result.SpaceReclaimed),
- "ContainerSpaceReclaimed": notifications.FormatBytes(result.ContainerSpaceReclaimed),
- "ImageSpaceReclaimed": notifications.FormatBytes(result.ImageSpaceReclaimed),
- "VolumeSpaceReclaimed": notifications.FormatBytes(result.VolumeSpaceReclaimed),
- "BuildCacheSpaceReclaimed": notifications.FormatBytes(result.BuildCacheSpaceReclaimed),
- "Status": kit.Ternary(len(result.Errors) > 0, "Finished with errors: "+strings.Join(result.Errors, "; "), "Completed"),
- "Time": time.Now().Format(time.RFC1123),
- }
-
- return s.renderTemplatesInternal("prune-report", data, false)
-}
-
-func (s *Service) renderTemplatesInternal(name string, data any, textRequired bool) (string, string, error) {
- htmlContent, err := resources.FS.ReadFile(fmt.Sprintf("email-templates/%s_html.tmpl", name))
- if err != nil {
- return "", "", fmt.Errorf("failed to read HTML template: %w", err)
- }
-
- htmlTmpl, err := template.New("html").Parse(string(htmlContent))
- if err != nil {
- return "", "", fmt.Errorf("failed to parse HTML template: %w", err)
- }
-
- var htmlBuf bytes.Buffer
- if executeTemplateErr := htmlTmpl.ExecuteTemplate(&htmlBuf, "root", data); executeTemplateErr != nil {
- return "", "", fmt.Errorf("failed to execute HTML template: %w", executeTemplateErr)
- }
-
- textContent, err := resources.FS.ReadFile(fmt.Sprintf("email-templates/%s_text.tmpl", name))
- if err != nil {
- if textRequired {
- return "", "", fmt.Errorf("failed to read text template: %w", err)
- }
- return htmlBuf.String(), "", nil
- }
- textTmpl, err := template.New("text").Parse(string(textContent))
- if err != nil {
- if textRequired {
- return "", "", fmt.Errorf("failed to parse text template: %w", err)
- }
- return htmlBuf.String(), "", nil
- }
- var textBuf bytes.Buffer
- if executeTextTemplateErr := textTmpl.ExecuteTemplate(&textBuf, "root", data); executeTextTemplateErr != nil {
- if textRequired {
- return "", "", fmt.Errorf("failed to execute text template: %w", executeTextTemplateErr)
- }
- return htmlBuf.String(), "", nil
- }
- return htmlBuf.String(), textBuf.String(), nil
-}
diff --git a/backend/internal/notification/children/templates/service_test.go b/backend/internal/notification/children/templates/service_test.go
index ffa729352..27b0321bd 100644
--- a/backend/internal/notification/children/templates/service_test.go
+++ b/backend/internal/notification/children/templates/service_test.go
@@ -15,16 +15,15 @@ import (
func TestService_RenderEmailTemplate_IncludesEnvironment(t *testing.T) {
svc := NewService(func() string { return "http://localhost:3000" })
- htmlBody, textBody, err := svc.renderEmailTemplateInternal("Homelab Prod", "nginx:latest", &imageupdate.Response{
+ _, htmlBody, err := svc.ImageUpdate("Homelab Prod", "nginx:latest", &imageupdate.Response{
HasUpdate: true,
UpdateType: "digest",
CurrentDigest: "sha256:current",
LatestDigest: "sha256:latest",
CheckTime: time.Date(2026, time.January, 9, 15, 4, 5, 0, time.UTC),
- })
+ }).RenderEmail()
require.NoError(t, err)
require.Contains(t, htmlBody, "Homelab Prod")
- require.Contains(t, textBody, "Homelab Prod")
subject := notifications.BuildEmailSubject("Homelab Prod", "Container Update Available: nginx:latest")
require.Equal(t, "[Homelab Prod] Container Update Available: nginx:latest", subject)
@@ -33,10 +32,9 @@ func TestService_RenderEmailTemplate_IncludesEnvironment(t *testing.T) {
func TestService_RenderContainerUpdateEmailTemplate_IncludesEnvironment(t *testing.T) {
svc := NewService(func() string { return "http://localhost:3000" })
- htmlBody, textBody, err := svc.renderContainerUpdateEmailTemplateInternal("Lab Remote", "nginx", "nginx:latest", "sha256:old", "sha256:new")
+ _, htmlBody, err := svc.ContainerUpdate("Lab Remote", "nginx", "nginx:latest", "sha256:old", "sha256:new").RenderEmail()
require.NoError(t, err)
require.Contains(t, htmlBody, "Lab Remote")
- require.Contains(t, textBody, "Lab Remote")
subject := notifications.BuildEmailSubject("Lab Remote", "Container Updated: nginx")
require.Equal(t, "[Lab Remote] Container Updated: nginx", subject)
@@ -62,10 +60,9 @@ func TestService_RenderBatchEmailTemplate_IncludesEnvironment(t *testing.T) {
},
}
- htmlBody, textBody, err := svc.renderBatchEmailTemplateInternal("Edge Cluster A", updates)
+ _, htmlBody, err := svc.BatchImageUpdate("Edge Cluster A", updates).RenderEmail()
require.NoError(t, err)
require.Contains(t, htmlBody, "Edge Cluster A")
- require.Contains(t, textBody, "Edge Cluster A")
subject := notifications.BuildEmailSubject("Edge Cluster A", "2 Container Image Updates Available")
require.Equal(t, "[Edge Cluster A] 2 Container Image Updates Available", subject)
@@ -74,33 +71,30 @@ func TestService_RenderBatchEmailTemplate_IncludesEnvironment(t *testing.T) {
func TestService_RenderVulnerabilitySummaryEmailTemplate_IncludesEnvironment(t *testing.T) {
svc := NewService(func() string { return "http://localhost:3000" })
- htmlBody, textBody, err := svc.renderVulnerabilitySummaryEmailTemplateInternal("Remote Alpha", notification.DispatchVulnerabilityFound{
+ _, htmlBody, err := svc.Vulnerability("Remote Alpha", notification.DispatchVulnerabilityFound{
CVEID: "Daily Summary - 2026-01-09",
ImageName: "5 image(s) scanned, 2 with fixable vulnerabilities",
FixedVersion: "7 fixable vulnerability record(s)",
Severity: "Critical:1 High:3 Medium:2 Low:1 Unknown:0",
PkgName: "CVE-2025-1234",
- })
+ }).RenderEmail()
require.NoError(t, err)
require.Contains(t, htmlBody, "Remote Alpha")
- require.Contains(t, textBody, "Remote Alpha")
}
func TestService_RenderPruneReportEmailTemplate_IncludesEnvironment(t *testing.T) {
svc := NewService(func() string { return "http://localhost:3000" })
- htmlBody, textBody, err := svc.renderPruneReportEmailTemplateInternal("Cluster West", &system.PruneAllResult{
+ _, htmlBody, err := svc.PruneReport("Cluster West", &system.PruneAllResult{
SpaceReclaimed: 3825205248,
ContainerSpaceReclaimed: 503316480,
ImageSpaceReclaimed: 2449473536,
VolumeSpaceReclaimed: 641728512,
BuildCacheSpaceReclaimed: 230162432,
- })
+ }).RenderEmail()
require.NoError(t, err)
require.Contains(t, htmlBody, "Cluster West")
- require.Contains(t, textBody, "Cluster West")
for _, size := range []string{"3.6 GiB", "480.0 MiB", "2.3 GiB", "612.0 MiB", "219.5 MiB"} {
require.Contains(t, htmlBody, size)
- require.Contains(t, textBody, size)
}
}
diff --git a/backend/pkg/utils/notifications/deliver.go b/backend/pkg/utils/notifications/deliver.go
index 14c27cc90..9b698f22c 100644
--- a/backend/pkg/utils/notifications/deliver.go
+++ b/backend/pkg/utils/notifications/deliver.go
@@ -135,7 +135,7 @@ func deliverEmail(ctx context.Context, config database.JSON, c Content) error {
if err != nil {
return err
}
- if sendEmailErr := SendEmail(ctx, emailConfig, subject, htmlBody); sendEmailErr != nil {
+ if sendEmailErr := SendEmail(ctx, emailConfig, subject, htmlBody, c.Text[MessageFormatPlain]); sendEmailErr != nil {
return fmt.Errorf("failed to send email: %w", sendEmailErr)
}
return nil
diff --git a/backend/pkg/utils/notifications/email_sender.go b/backend/pkg/utils/notifications/email_sender.go
index 7fc986969..44a0d950d 100644
--- a/backend/pkg/utils/notifications/email_sender.go
+++ b/backend/pkg/utils/notifications/email_sender.go
@@ -106,11 +106,11 @@ func buildMailClientInternal(config EmailConfig, options smtpBuildOptions) (*mai
}
// SendEmail sends pre-rendered HTML via go-mail.
-func SendEmail(ctx context.Context, config EmailConfig, subject, htmlBody string) error {
- return sendEmailInternal(ctx, config, subject, htmlBody, smtpBuildOptionsFromContextInternal(ctx))
+func SendEmail(ctx context.Context, config EmailConfig, subject, htmlBody, textBody string) error {
+ return sendEmailInternal(ctx, config, subject, htmlBody, textBody, smtpBuildOptionsFromContextInternal(ctx))
}
-func sendEmailInternal(ctx context.Context, config EmailConfig, subject, htmlBody string, options smtpBuildOptions) error {
+func sendEmailInternal(ctx context.Context, config EmailConfig, subject, htmlBody, textBody string, options smtpBuildOptions) error {
if ctx == nil {
return errors.New("email send context is required")
}
@@ -138,7 +138,12 @@ func sendEmailInternal(ctx context.Context, config EmailConfig, subject, htmlBod
return fmt.Errorf("invalid recipient address(es): %w", toErr)
}
msg.Subject(subject)
- msg.SetBodyString(mail.TypeTextHTML, htmlBody)
+ if textBody != "" {
+ msg.SetBodyString(mail.TypeTextPlain, textBody)
+ msg.AddAlternativeString(mail.TypeTextHTML, htmlBody)
+ } else {
+ msg.SetBodyString(mail.TypeTextHTML, htmlBody)
+ }
if dialAndSendWithContextErr := client.DialAndSendWithContext(ctx, msg); dialAndSendWithContextErr != nil {
return fmt.Errorf("failed to send email: %w", dialAndSendWithContextErr)
diff --git a/backend/pkg/utils/notifications/email_sender_test.go b/backend/pkg/utils/notifications/email_sender_test.go
index 005bf7bd9..b055e0446 100644
--- a/backend/pkg/utils/notifications/email_sender_test.go
+++ b/backend/pkg/utils/notifications/email_sender_test.go
@@ -13,7 +13,10 @@ import (
"fmt"
"io"
"math/big"
+ "mime"
+ "mime/multipart"
"net"
+ "net/mail"
"net/textproto"
"strings"
"sync"
@@ -38,6 +41,7 @@ type smtpTestServer struct {
authMechanismUsed string
authMechanisms []string
commands []string
+ message string
mu sync.Mutex
supportStartTLS bool
authBeforeTLS bool
@@ -64,6 +68,7 @@ func TestSendEmailStartTLSRequiresTLSBeforeAuth(t *testing.T) {
config,
"Arcane STARTTLS Test",
"<p>Test</p>",
+ "",
smtpBuildOptions{tlsConfig: server.ClientTLSConfig()},
)
require.NoError(t, err)
@@ -89,7 +94,7 @@ func TestSendEmailStartTLSFailsWhenServerDoesNotSupportIt(t *testing.T) {
TLSMode: EmailTLSModeStartTLS,
}
- err := SendEmail(t.Context(), config, "Arcane STARTTLS Test", "<p>Test</p>")
+ err := SendEmail(t.Context(), config, "Arcane STARTTLS Test", "<p>Test</p>", "")
require.Error(t, err)
assert.Contains(t, err.Error(), "STARTTLS")
assert.NotContains(t, err.Error(), "unencrypted connection")
@@ -120,6 +125,7 @@ func TestSendEmailAuthLoginAgainstExchangeStyleServer(t *testing.T) {
config,
"Arcane AUTH LOGIN Test",
"<p>Test</p>",
+ "",
smtpBuildOptions{tlsConfig: server.ClientTLSConfig()},
)
require.NoError(t, err)
@@ -144,13 +150,59 @@ func TestSendEmailStalePasswordWithoutUsernameSkipsAuth(t *testing.T) {
AuthMode: EmailAuthModeAuto,
}
- err := sendEmailInternal(t.Context(), config, "Arcane No-Auth Test", "<p>Test</p>", smtpBuildOptions{})
+ err := sendEmailInternal(t.Context(), config, "Arcane No-Auth Test", "<p>Test</p>", "", smtpBuildOptions{})
require.NoError(t, err)
require.NoError(t, server.Wait())
assert.NotContains(t, server.Commands(), "AUTH", "expected no AUTH attempt without complete credentials")
}
+func TestSendEmailWithTextBodySendsMultipartAlternative(t *testing.T) {
+ server := newSMTPTestServerInternal(t, false, nil)
+ defer server.Close()
+
+ config := EmailConfig{
+ SMTPHost: smtpTestHost,
+ SMTPPort: server.Port(),
+ FromAddress: "[email protected]",
+ ToAddresses: []string{"[email protected]"},
+ TLSMode: EmailTLSModeNone,
+ }
+
+ err := sendEmailInternal(t.Context(), config, "Arcane Multipart Test", "<p>HTML body</p>", "Plain body", smtpBuildOptions{})
+ require.NoError(t, err)
+ require.NoError(t, server.Wait())
+
+ msg, err := mail.ReadMessage(strings.NewReader(server.Message()))
+ require.NoError(t, err)
+
+ mediaType, params, err := mime.ParseMediaType(msg.Header.Get("Content-Type"))
+ require.NoError(t, err)
+ require.Equal(t, "multipart/alternative", mediaType)
+
+ parts := map[string]string{}
+ reader := multipart.NewReader(msg.Body, params["boundary"])
+ for {
+ part, partErr := reader.NextPart()
+ if errors.Is(partErr, io.EOF) {
+ break
+ }
+ require.NoError(t, partErr)
+
+ partType, _, typeErr := mime.ParseMediaType(part.Header.Get("Content-Type"))
+ require.NoError(t, typeErr)
+
+ body, readErr := io.ReadAll(part)
+ require.NoError(t, readErr)
+ parts[partType] = strings.TrimSpace(string(body))
+ }
+
+ assert.Equal(t, map[string]string{
+ "text/plain": "Plain body",
+ "text/html": "<p>HTML body</p>",
+ }, parts)
+}
+
func newSMTPTestServerInternal(t *testing.T, supportStartTLS bool, authMechanisms []string) *smtpTestServer {
t.Helper()
@@ -347,15 +399,11 @@ func (s *smtpTestServer) handleCommandInternal(reader *textproto.Reader, writer
if writeSMTPResponseErr6 := writeSMTPResponseInternal(writer, 354, false, "End data with <CR><LF>.<CR><LF>"); writeSMTPResponseErr6 != nil {
return false, writeSMTPResponseErr6
}
- for {
- dataLine, dataErr := reader.ReadLine()
- if dataErr != nil {
- return false, dataErr
- }
- if dataLine == "." {
- break
- }
+ dataLines, dataErr := reader.ReadDotLines()
+ if dataErr != nil {
+ return false, dataErr
}
+ s.recordMessage(strings.Join(dataLines, "\r\n"))
if writeSMTPResponseErr7 := writeSMTPResponseInternal(writer, 250, false, "2.0.0 queued"); writeSMTPResponseErr7 != nil {
return false, writeSMTPResponseErr7
}
@@ -410,6 +458,18 @@ func (s *smtpTestServer) recordAuthMechanismInternal(mechanism string) {
s.authMechanismUsed = mechanism
}
+func (s *smtpTestServer) recordMessage(message string) {
+ s.mu.Lock()
+ defer s.mu.Unlock()
+ s.message = message
+}
+
+func (s *smtpTestServer) Message() string {
+ s.mu.Lock()
+ defer s.mu.Unlock()
+ return s.message
+}
+
func (s *smtpTestServer) markStartTLSNegotiated() {
s.mu.Lock()
defer s.mu.Unlock()
diff --git a/backend/resources/email-templates/batch-container-updates_html.tmpl b/backend/resources/email-templates/batch-container-updates_html.tmpl
deleted file mode 100644
index 0e5804e7e..000000000
--- a/backend/resources/email-templates/batch-container-updates_html.tmpl
+++ /dev/null
@@ -1,7 +0,0 @@
-{{define "root"}}<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html dir="ltr" lang="en"><head><meta content="text/html; charset=UTF-8" http-equiv="Content-Type"/><meta name="x-apple-disable-message-reformatting"/></head><body dir="ltr" lang="en" style="background-color:#24262b;padding:0"><table border="0" width="100%" cellPadding="0" cellSpacing="0" role="presentation" align="center"><tbody><tr><td dir="ltr" lang="en" style="padding:40px 20px;background-color:#24262b;font-family:&#x27;Montserrat&#x27;, -apple-system, BlinkMacSystemFont, &#x27;Segoe UI&#x27;, Roboto, &#x27;Helvetica Neue&#x27;, Arial, sans-serif"><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation" style="max-width:37.5em;width:600px;margin:0 auto"><tbody><tr style="width:100%"><td>
-<table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation" style="text-align:center;margin-bottom:32px"><tbody><tr><td><img alt="Arcane" height="auto" src="{{.LogoURL}}" style="display:inline-block;outline:none;border:none;text-decoration:none;width:180px;height:auto" width="180"/></td></tr></tbody></table><div style="background-color:#31343a;border:1px solid #3a3e45;padding:32px;border-radius:14px;box-shadow:none"><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation"><tbody style="width:100%"><tr style="width:100%"><td data-id="__react-email-column"><h1 style="font-size:24px;font-weight:bold;margin:0;color:#f5f7fa;font-family:&#x27;Geist Mono&#x27;, ui-monospace, SFMono-Regular, Menlo, Monaco, &#x27;Courier New&#x27;, monospace">Containers Updated</h1></td><td align="right" data-id="__react-email-column"></td></tr></tbody></table>
-<table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation" style="margin-top:24px"><tbody><tr><td><p style="font-size:16px;line-height:24px;color:#c7cbd1;margin:0 0 16px 0;margin-top:0;margin-right:0;margin-bottom:16px;margin-left:0">{{.UpdateCount}} container(s) were updated with the latest image version.</p></td></tr></tbody></table><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation" style="margin-top:20px;background-color:#2b2e34;border:1px solid #3a3e45;border-radius:10px"><tbody><tr><td style="padding:20px"><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation" style="margin-bottom:0"><tbody style="width:100%"><tr style="width:100%"><td data-id="__react-email-column" style="width:160px;vertical-align:top;padding-right:12px"><p style="font-size:14px;line-height:24px;font-weight:600;color:#9298a3;margin:8px 0;margin-top:8px;margin-right:0;margin-bottom:8px;margin-left:0"
->Environment:</p></td><td data-id="__react-email-column"><p style="font-size:14px;line-height:24px;color:#e6e8ec;margin:8px 0;word-break:break-word;margin-top:8px;margin-right:0;margin-bottom:8px;margin-left:0">{{.Environment}}</p></td></tr></tbody></table><hr style="width:100%;border:none;border-color:#3a3e45;border-top:1px solid #eaeaea;margin:4px 0"/><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation" style="margin-bottom:0"><tbody style="width:100%"><tr style="width:100%"><td data-id="__react-email-column" style="width:160px;vertical-align:top;padding-right:12px"><p style="font-size:14px;line-height:24px;font-weight:600;color:#9298a3;margin:8px 0;margin-top:8px;margin-right:0;margin-bottom:8px;margin-left:0">Containers Updated:</p></td><td data-id="__react-email-column"><p style="font-size:24px;line-height:24px;font-weight:700;color:#34d399;margin:8px 0;margin-top:8px;margin-right:0;margin-bottom:8px;margin-left:0">{{.UpdateCount}}</p>
-</td></tr></tbody></table><hr style="width:100%;border:none;border-color:#3a3e45;border-top:1px solid #eaeaea;margin:4px 0"/><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation" style="margin-bottom:0"><tbody style="width:100%"><tr style="width:100%"><td data-id="__react-email-column" style="width:160px;vertical-align:top;padding-right:12px"><p style="font-size:14px;line-height:24px;font-weight:600;color:#9298a3;margin:8px 0;margin-top:8px;margin-right:0;margin-bottom:8px;margin-left:0">Completed At:</p></td><td data-id="__react-email-column"><p style="font-size:14px;line-height:24px;color:#e6e8ec;margin:8px 0;word-break:break-word;margin-top:8px;margin-right:0;margin-bottom:8px;margin-left:0">{{.CompletedAt}}</p></td></tr></tbody></table></td></tr></tbody></table>
-<table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation" style="margin-top:24px;background-color:#2b2e34;border:1px solid #3a3e45;border-radius:10px"><tbody><tr><td style="padding:16px"><p style="font-size:14px;line-height:24px;font-weight:600;color:#9298a3;margin:0 0 12px 0;margin-top:0;margin-right:0;margin-bottom:12px;margin-left:0">Updated Containers:</p>{{range .Entries}}<p style="font-size:13px;line-height:20px;color:#e6e8ec;margin:4px 0 2px 0;font-family:'Geist Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, 'Courier New', monospace">β€’ {{.ContainerName}}</p><p style="font-size:12px;line-height:18px;color:#c7cbd1;margin:0 0 8px 0;font-family:'Geist Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, 'Courier New', monospace">&#160;&#160;&#160;{{.ImageRef}}</p>{{end}}</td></tr></tbody></table><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation" style="margin-top:24px"><tbody><tr><td><p style="font-size:13px;line-height:20px;color:#9298a3;margin:0;margin-top:0;margin-bottom:0;margin-left:0;margin-right:0">Log in to Arcane to view details about your containers.</p></td></tr></tbody></table></div>
-<table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation" style="text-align:center;margin-top:32px"><tbody><tr><td style="padding-top:24px"><p style="font-size:14px;line-height:20px;margin:0;color:#9298a3;margin-top:0;margin-bottom:0;margin-left:0;margin-right:0"><a href="{{.AppURL}}" style="color:#a855f7;text-decoration-line:none;text-decoration:none;font-weight:500" target="_blank">Open Arcane Dashboard -></a></p></td></tr></tbody></table></td></tr></tbody></table></td></tr></tbody></table></body></html>{{end}}
diff --git a/backend/resources/email-templates/batch-container-updates_text.tmpl b/backend/resources/email-templates/batch-container-updates_text.tmpl
deleted file mode 100644
index e9fe485fa..000000000
--- a/backend/resources/email-templates/batch-container-updates_text.tmpl
+++ /dev/null
@@ -1,14 +0,0 @@
-{{define "root"}}Arcane - Containers Updated
-
-{{.UpdateCount}} container(s) were updated with the latest image version.
-
-Environment: {{.Environment}}
-Completed At: {{.CompletedAt}}
-
-Updated Containers:
-{{range .Entries}}- {{.ContainerName}} ({{.ImageRef}})
-{{end}}
-
-Log in to Arcane to view details about your containers:
-{{.AppURL}}
-{{end}}
diff --git a/backend/resources/email-templates/batch-image-updates_html.tmpl b/backend/resources/email-templates/batch-image-updates_html.tmpl
deleted file mode 100644
index e027eea84..000000000
--- a/backend/resources/email-templates/batch-image-updates_html.tmpl
+++ /dev/null
@@ -1,7 +0,0 @@
-{{define "root"}}<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html dir="ltr" lang="en"><head><meta content="text/html; charset=UTF-8" http-equiv="Content-Type"/><meta name="x-apple-disable-message-reformatting"/></head><body dir="ltr" lang="en" style="background-color:#24262b;padding:0"><!--$--><!--html--><!--head--><!--body--><table border="0" width="100%" cellPadding="0" cellSpacing="0" role="presentation" align="center"><tbody><tr><td dir="ltr" lang="en" style="padding:40px 20px;background-color:#24262b;font-family:&#x27;Montserrat&#x27;, -apple-system, BlinkMacSystemFont, &#x27;Segoe UI&#x27;, Roboto, &#x27;Helvetica Neue&#x27;, Arial, sans-serif"><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation" style="max-width:37.5em;width:600px;margin:0 auto"><tbody><tr style="width:100%"><td>
-<table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation" style="text-align:center;margin-bottom:32px"><tbody><tr><td><img alt="Arcane" height="auto" src="{{.LogoURL}}" style="display:inline-block;outline:none;border:none;text-decoration:none;width:180px;height:auto" width="180"/></td></tr></tbody></table><div style="background-color:#31343a;border:1px solid #3a3e45;padding:32px;border-radius:14px;box-shadow:none"><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation"><tbody style="width:100%"><tr style="width:100%"><td data-id="__react-email-column"><h1 style="font-size:24px;font-weight:bold;margin:0;color:#f5f7fa;font-family:&#x27;Geist Mono&#x27;, ui-monospace, SFMono-Regular, Menlo, Monaco, &#x27;Courier New&#x27;, monospace">Image Updates Available</h1></td><td align="right" data-id="__react-email-column"></td></tr></tbody></table>
-<table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation" style="margin-top:24px"><tbody><tr><td><p style="font-size:16px;line-height:24px;color:#c7cbd1;margin:0 0 16px 0;margin-top:0;margin-right:0;margin-bottom:16px;margin-left:0">{{.UpdateCount}} container images have updates available.</p></td></tr></tbody></table><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation" style="margin-top:20px;background-color:#2b2e34;border:1px solid #3a3e45;border-radius:10px"><tbody><tr><td style="padding:20px"><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation" style="margin-bottom:0"><tbody style="width:100%"><tr style="width:100%"><td data-id="__react-email-column" style="width:160px;vertical-align:top;padding-right:12px"><p style="font-size:14px;line-height:24px;font-weight:600;color:#9298a3;margin:8px 0;margin-top:8px;margin-right:0;margin-bottom:8px;margin-left:0"
->Environment:</p></td><td data-id="__react-email-column"><p style="font-size:14px;line-height:24px;color:#e6e8ec;margin:8px 0;word-break:break-word;margin-top:8px;margin-right:0;margin-bottom:8px;margin-left:0">{{.Environment}}</p></td></tr></tbody></table><hr style="width:100%;border:none;border-color:#3a3e45;border-top:1px solid #eaeaea;margin:4px 0"/><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation" style="margin-bottom:0"><tbody style="width:100%"><tr style="width:100%"><td data-id="__react-email-column" style="width:160px;vertical-align:top;padding-right:12px"><p style="font-size:14px;line-height:24px;font-weight:600;color:#9298a3;margin:8px 0;margin-top:8px;margin-right:0;margin-bottom:8px;margin-left:0">Updates Available:</p></td><td data-id="__react-email-column"><p style="font-size:24px;line-height:24px;font-weight:700;color:#34d399;margin:8px 0;margin-top:8px;margin-right:0;margin-bottom:8px;margin-left:0">{{.UpdateCount}}</p>
-</td></tr></tbody></table><hr style="width:100%;border:none;border-color:#3a3e45;border-top:1px solid #eaeaea;margin:4px 0"/><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation" style="margin-bottom:0"><tbody style="width:100%"><tr style="width:100%"><td data-id="__react-email-column" style="width:160px;vertical-align:top;padding-right:12px"><p style="font-size:14px;line-height:24px;font-weight:600;color:#9298a3;margin:8px 0;margin-top:8px;margin-right:0;margin-bottom:8px;margin-left:0">Checked At:</p></td><td data-id="__react-email-column"><p style="font-size:14px;line-height:24px;color:#e6e8ec;margin:8px 0;word-break:break-word;margin-top:8px;margin-right:0;margin-bottom:8px;margin-left:0">{{.CheckTime}}</p></td></tr></tbody></table></td></tr></tbody></table>
-<table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation" style="margin-top:24px;background-color:#2b2e34;border:1px solid #3a3e45;border-radius:10px"><tbody><tr><td style="padding:16px"><p style="font-size:14px;line-height:24px;font-weight:600;color:#9298a3;margin:0 0 12px 0;margin-top:0;margin-right:0;margin-bottom:12px;margin-left:0">Images with Updates:</p>{{range .ImageList}}<p style="font-size:13px;line-height:20px;color:#c7cbd1;margin:4px 0;font-family:'Geist Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, 'Courier New', monospace">β€’ {{.}}</p>{{end}}</td></tr></tbody></table><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation" style="margin-top:24px"><tbody><tr><td><p style="font-size:13px;line-height:20px;color:#9298a3;margin:0;margin-top:0;margin-bottom:0;margin-left:0;margin-right:0">Log in to Arcane to view details and update your containers.</p></td></tr></tbody></table></div>
-<table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation" style="text-align:center;margin-top:32px"><tbody><tr><td style="padding-top:24px"><p style="font-size:14px;line-height:20px;margin:0;color:#9298a3;margin-top:0;margin-bottom:0;margin-left:0;margin-right:0"><a href="{{.AppURL}}" style="color:#a855f7;text-decoration-line:none;text-decoration:none;font-weight:500" target="_blank">Open Arcane Dashboard β†’</a></p></td></tr></tbody></table></td></tr></tbody></table></td></tr></tbody></table><!--/$--></body></html>{{end}}
diff --git a/backend/resources/email-templates/batch-image-updates_text.tmpl b/backend/resources/email-templates/batch-image-updates_text.tmpl
deleted file mode 100644
index 2cd8b3e08..000000000
--- a/backend/resources/email-templates/batch-image-updates_text.tmpl
+++ /dev/null
@@ -1,28 +0,0 @@
-{{define "root"}}IMAGE UPDATES AVAILABLE
-
-{{.UpdateCount}} container images have updates available.
-
-Environment:
-
-{{.Environment}}
-
-----------------------------------------
-
-Updates Available:
-
-{{.UpdateCount}}
-
-----------------------------------------
-
-Checked At:
-
-{{.CheckTime}}
-
-Images with Updates:
-
-{{range .ImageList}}β€’ {{.}}
-{{end}}
-
-Log in to Arcane to view details and update your containers.
-
-Open Arcane Dashboard β†’ {{.AppURL}}{{end}}
diff --git a/backend/resources/email-templates/container-update_html.tmpl b/backend/resources/email-templates/container-update_html.tmpl
deleted file mode 100644
index 8fad6f723..000000000
--- a/backend/resources/email-templates/container-update_html.tmpl
+++ /dev/null
@@ -1,10 +0,0 @@
-{{define "root"}}<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html dir="ltr" lang="en"><head><meta content="text/html; charset=UTF-8" http-equiv="Content-Type"/><meta name="x-apple-disable-message-reformatting"/></head><body dir="ltr" lang="en" style="background-color:#24262b;padding:0"><!--$--><!--html--><!--head--><!--body--><table border="0" width="100%" cellPadding="0" cellSpacing="0" role="presentation" align="center"><tbody><tr><td dir="ltr" lang="en" style="padding:40px 20px;background-color:#24262b;font-family:&#x27;Montserrat&#x27;, -apple-system, BlinkMacSystemFont, &#x27;Segoe UI&#x27;, Roboto, &#x27;Helvetica Neue&#x27;, Arial, sans-serif"><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation" style="max-width:37.5em;width:600px;margin:0 auto"><tbody><tr style="width:100%"><td>
-<table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation" style="text-align:center;margin-bottom:32px"><tbody><tr><td><img alt="Arcane" height="auto" src="{{.LogoURL}}" style="display:inline-block;outline:none;border:none;text-decoration:none;width:180px;height:auto" width="180"/></td></tr></tbody></table><div style="background-color:#31343a;border:1px solid #3a3e45;padding:32px;border-radius:14px;box-shadow:none"><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation"><tbody style="width:100%"><tr style="width:100%"><td data-id="__react-email-column"><h1 style="font-size:24px;font-weight:bold;margin:0;color:#f5f7fa;font-family:&#x27;Geist Mono&#x27;, ui-monospace, SFMono-Regular, Menlo, Monaco, &#x27;Courier New&#x27;, monospace">Container Successfully Updated</h1></td><td align="right" data-id="__react-email-column"></td></tr></tbody></table>
-<table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation" style="margin-top:24px"><tbody><tr><td><p style="font-size:16px;line-height:24px;color:#c7cbd1;margin:0 0 16px 0;margin-top:0;margin-right:0;margin-bottom:16px;margin-left:0">Your container has been successfully updated with the latest image version.</p></td></tr></tbody></table><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation" style="margin-top:20px;background-color:#2b2e34;border:1px solid #3a3e45;border-radius:10px"><tbody><tr><td style="padding:20px"><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation" style="margin-bottom:0"><tbody style="width:100%"><tr style="width:100%"><td data-id="__react-email-column" style="width:140px;vertical-align:top;padding-right:12px">
-<p style="font-size:14px;line-height:24px;font-weight:600;color:#9298a3;margin:8px 0;margin-top:8px;margin-right:0;margin-bottom:8px;margin-left:0">Environment:</p></td><td data-id="__react-email-column"><p style="font-size:14px;line-height:24px;color:#e6e8ec;margin:8px 0;word-break:break-word;margin-top:8px;margin-right:0;margin-bottom:8px;margin-left:0">{{.Environment}}</p></td></tr></tbody></table><hr style="width:100%;border:none;border-color:#3a3e45;border-top:1px solid #eaeaea;margin:4px 0"/><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation" style="margin-bottom:0"><tbody style="width:100%"><tr style="width:100%"><td data-id="__react-email-column" style="width:140px;vertical-align:top;padding-right:12px"><p style="font-size:14px;line-height:24px;font-weight:600;color:#9298a3;margin:8px 0;margin-top:8px;margin-right:0;margin-bottom:8px;margin-left:0">Container:</p></td><td data-id="__react-email-column">
-<p style="font-size:14px;line-height:24px;color:#e6e8ec;margin:8px 0;word-break:break-word;margin-top:8px;margin-right:0;margin-bottom:8px;margin-left:0">{{.ContainerName}}</p></td></tr></tbody></table><hr style="width:100%;border:none;border-color:#3a3e45;border-top:1px solid #eaeaea;margin:4px 0"/><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation" style="margin-bottom:0"><tbody style="width:100%"><tr style="width:100%"><td data-id="__react-email-column" style="width:140px;vertical-align:top;padding-right:12px"><p style="font-size:14px;line-height:24px;font-weight:600;color:#9298a3;margin:8px 0;margin-top:8px;margin-right:0;margin-bottom:8px;margin-left:0">Image:</p></td><td data-id="__react-email-column"><p style="font-size:14px;line-height:24px;color:#e6e8ec;margin:8px 0;word-break:break-word;margin-top:8px;margin-right:0;margin-bottom:8px;margin-left:0">{{.ImageRef}}</p></td></tr></tbody></table>
-<hr style="width:100%;border:none;border-color:#3a3e45;border-top:1px solid #eaeaea;margin:4px 0"/><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation" style="margin-bottom:0"><tbody style="width:100%"><tr style="width:100%"><td data-id="__react-email-column" style="width:140px;vertical-align:top;padding-right:12px"><p style="font-size:14px;line-height:24px;font-weight:600;color:#9298a3;margin:8px 0;margin-top:8px;margin-right:0;margin-bottom:8px;margin-left:0">Status:</p></td><td data-id="__react-email-column"><p style="font-size:14px;line-height:24px;font-weight:600;color:#34d399;margin:8px 0;margin-top:8px;margin-right:0;margin-bottom:8px;margin-left:0">βœ“ Updated Successfully</p></td></tr></tbody></table><hr style="width:100%;border:none;border-color:#3a3e45;border-top:1px solid #eaeaea;margin:4px 0"/><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation" style="margin-bottom:0">
-<tbody style="width:100%"><tr style="width:100%"><td data-id="__react-email-column" style="width:140px;vertical-align:top;padding-right:12px"><p style="font-size:14px;line-height:24px;font-weight:600;color:#9298a3;margin:8px 0;margin-top:8px;margin-right:0;margin-bottom:8px;margin-left:0">Previous Version:</p></td><td data-id="__react-email-column"><p style="font-size:13px;line-height:24px;color:#e6e8ec;font-family:&#x27;Geist Mono&#x27;, ui-monospace, SFMono-Regular, Menlo, Monaco, &#x27;Courier New&#x27;, monospace;margin:8px 0;margin-top:8px;margin-right:0;margin-bottom:8px;margin-left:0">{{.OldDigest}}</p></td></tr></tbody></table><hr style="width:100%;border:none;border-color:#3a3e45;border-top:1px solid #eaeaea;margin:4px 0"/><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation" style="margin-bottom:0"><tbody style="width:100%"><tr style="width:100%">
-<td data-id="__react-email-column" style="width:140px;vertical-align:top;padding-right:12px"><p style="font-size:14px;line-height:24px;font-weight:600;color:#9298a3;margin:8px 0;margin-top:8px;margin-right:0;margin-bottom:8px;margin-left:0">Current Version:</p></td><td data-id="__react-email-column"><p style="font-size:13px;line-height:24px;color:#e6e8ec;font-family:&#x27;Geist Mono&#x27;, ui-monospace, SFMono-Regular, Menlo, Monaco, &#x27;Courier New&#x27;, monospace;margin:8px 0;margin-top:8px;margin-right:0;margin-bottom:8px;margin-left:0">{{.NewDigest}}</p></td></tr></tbody></table><hr style="width:100%;border:none;border-color:#3a3e45;border-top:1px solid #eaeaea;margin:4px 0"/><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation" style="margin-bottom:0"><tbody style="width:100%"><tr style="width:100%"><td data-id="__react-email-column" style="width:140px;vertical-align:top;padding-right:12px">
-<p style="font-size:14px;line-height:24px;font-weight:600;color:#9298a3;margin:8px 0;margin-top:8px;margin-right:0;margin-bottom:8px;margin-left:0">Updated At:</p></td><td data-id="__react-email-column"><p style="font-size:14px;line-height:24px;color:#e6e8ec;margin:8px 0;word-break:break-word;margin-top:8px;margin-right:0;margin-bottom:8px;margin-left:0">{{.UpdateTime}}</p></td></tr></tbody></table></td></tr></tbody></table><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation" style="margin-top:24px"><tbody><tr><td><p style="font-size:13px;line-height:20px;color:#9298a3;margin:0;margin-top:0;margin-bottom:0;margin-left:0;margin-right:0">This is an automated notification from Arcane. Your container has been restarted with the new image version.</p></td></tr></tbody></table></div><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation" style="text-align:center;margin-top:32px"><tbody><tr>
-<td style="padding-top:24px"><p style="font-size:14px;line-height:20px;margin:0;color:#9298a3;margin-top:0;margin-bottom:0;margin-left:0;margin-right:0"><a href="{{.AppURL}}" style="color:#a855f7;text-decoration-line:none;text-decoration:none;font-weight:500" target="_blank">Open Arcane Dashboard β†’</a></p></td></tr></tbody></table></td></tr></tbody></table></td></tr></tbody></table><!--/$--></body></html>{{end}}
diff --git a/backend/resources/email-templates/container-update_text.tmpl b/backend/resources/email-templates/container-update_text.tmpl
deleted file mode 100644
index 0e3ed5810..000000000
--- a/backend/resources/email-templates/container-update_text.tmpl
+++ /dev/null
@@ -1,48 +0,0 @@
-{{define "root"}}CONTAINER SUCCESSFULLY UPDATED
-
-Your container has been successfully updated with the latest image version.
-
-Environment:
-
-{{.Environment}}
-
-----------------------------------------
-
-Container:
-
-{{.ContainerName}}
-
-----------------------------------------
-
-Image:
-
-{{.ImageRef}}
-
-----------------------------------------
-
-Status:
-
-βœ“ Updated Successfully
-
-----------------------------------------
-
-Previous Version:
-
-{{.OldDigest}}
-
-----------------------------------------
-
-Current Version:
-
-{{.NewDigest}}
-
-----------------------------------------
-
-Updated At:
-
-{{.UpdateTime}}
-
-This is an automated notification from Arcane. Your container has been restart
-ed with the new image version.
-
-Open Arcane Dashboard β†’ {{.AppURL}}{{end}}
diff --git a/backend/resources/email-templates/image-update_html.tmpl b/backend/resources/email-templates/image-update_html.tmpl
deleted file mode 100644
index 2507505ef..000000000
--- a/backend/resources/email-templates/image-update_html.tmpl
+++ /dev/null
@@ -1,10 +0,0 @@
-{{define "root"}}<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html dir="ltr" lang="en"><head><meta content="text/html; charset=UTF-8" http-equiv="Content-Type"/><meta name="x-apple-disable-message-reformatting"/></head><body dir="ltr" lang="en" style="background-color:#24262b;padding:0"><!--$--><!--html--><!--head--><!--body--><table border="0" width="100%" cellPadding="0" cellSpacing="0" role="presentation" align="center"><tbody><tr><td dir="ltr" lang="en" style="padding:40px 20px;background-color:#24262b;font-family:&#x27;Montserrat&#x27;, -apple-system, BlinkMacSystemFont, &#x27;Segoe UI&#x27;, Roboto, &#x27;Helvetica Neue&#x27;, Arial, sans-serif"><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation" style="max-width:37.5em;width:600px;margin:0 auto"><tbody><tr style="width:100%"><td>
-<table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation" style="text-align:center;margin-bottom:32px"><tbody><tr><td><img alt="Arcane" height="auto" src="{{.LogoURL}}" style="display:inline-block;outline:none;border:none;text-decoration:none;width:180px;height:auto" width="180"/></td></tr></tbody></table><div style="background-color:#31343a;border:1px solid #3a3e45;padding:32px;border-radius:14px;box-shadow:none"><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation"><tbody style="width:100%"><tr style="width:100%"><td data-id="__react-email-column"><h1 style="font-size:24px;font-weight:bold;margin:0;color:#f5f7fa;font-family:&#x27;Geist Mono&#x27;, ui-monospace, SFMono-Regular, Menlo, Monaco, &#x27;Courier New&#x27;, monospace">Container Image Update</h1></td><td align="right" data-id="__react-email-column"></td></tr></tbody></table>
-<table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation" style="margin-top:24px"><tbody><tr><td><p style="font-size:16px;line-height:24px;color:#c7cbd1;margin:0 0 16px 0;margin-top:0;margin-right:0;margin-bottom:16px;margin-left:0">A new update has been detected for your container image.</p></td></tr></tbody></table><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation" style="margin-top:20px;background-color:#2b2e34;border:1px solid #3a3e45;border-radius:10px"><tbody><tr><td style="padding:20px"><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation" style="margin-bottom:0"><tbody style="width:100%"><tr style="width:100%"><td data-id="__react-email-column" style="width:140px;vertical-align:top;padding-right:12px"><p style="font-size:14px;line-height:24px;font-weight:600;color:#9298a3;margin:8px 0;margin-top:8px;margin-right:0;margin-bottom:8px;margin-left:0">
-Environment:</p></td><td data-id="__react-email-column"><p style="font-size:14px;line-height:24px;color:#e6e8ec;margin:8px 0;word-break:break-word;margin-top:8px;margin-right:0;margin-bottom:8px;margin-left:0">{{.Environment}}</p></td></tr></tbody></table><hr style="width:100%;border:none;border-color:#3a3e45;border-top:1px solid #eaeaea;margin:4px 0"/><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation" style="margin-bottom:0"><tbody style="width:100%"><tr style="width:100%"><td data-id="__react-email-column" style="width:140px;vertical-align:top;padding-right:12px"><p style="font-size:14px;line-height:24px;font-weight:600;color:#9298a3;margin:8px 0;margin-top:8px;margin-right:0;margin-bottom:8px;margin-left:0">Image:</p></td><td data-id="__react-email-column"><p style="font-size:14px;line-height:24px;color:#e6e8ec;margin:8px 0;word-break:break-word;margin-top:8px;margin-right:0;margin-bottom:8px;margin-left:0">{{.ImageRef}}</p></td></tr>
-</tbody></table><hr style="width:100%;border:none;border-color:#3a3e45;border-top:1px solid #eaeaea;margin:4px 0"/><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation" style="margin-bottom:0"><tbody style="width:100%"><tr style="width:100%"><td data-id="__react-email-column" style="width:140px;vertical-align:top;padding-right:12px"><p style="font-size:14px;line-height:24px;font-weight:600;color:#9298a3;margin:8px 0;margin-top:8px;margin-right:0;margin-bottom:8px;margin-left:0">Status:</p></td><td data-id="__react-email-column"><p style="font-size:14px;line-height:24px;font-weight:600;color:#34d399;margin:8px 0;margin-top:8px;margin-right:0;margin-bottom:8px;margin-left:0">βœ“ Update Available</p></td></tr></tbody></table><hr style="width:100%;border:none;border-color:#3a3e45;border-top:1px solid #eaeaea;margin:4px 0"/><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation" style="margin-bottom:0">
-<tbody style="width:100%"><tr style="width:100%"><td data-id="__react-email-column" style="width:140px;vertical-align:top;padding-right:12px"><p style="font-size:14px;line-height:24px;font-weight:600;color:#9298a3;margin:8px 0;margin-top:8px;margin-right:0;margin-bottom:8px;margin-left:0">Update Type:</p></td><td data-id="__react-email-column"><p style="font-size:14px;line-height:24px;color:#e6e8ec;margin:8px 0;word-break:break-word;margin-top:8px;margin-right:0;margin-bottom:8px;margin-left:0">{{.UpdateType}}</p></td></tr></tbody></table><hr style="width:100%;border:none;border-color:#3a3e45;border-top:1px solid #eaeaea;margin:4px 0"/><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation" style="margin-bottom:0"><tbody style="width:100%"><tr style="width:100%"><td data-id="__react-email-column" style="width:140px;vertical-align:top;padding-right:12px">
-<p style="font-size:14px;line-height:24px;font-weight:600;color:#9298a3;margin:8px 0;margin-top:8px;margin-right:0;margin-bottom:8px;margin-left:0">Current Digest:</p></td><td data-id="__react-email-column"><p style="font-size:13px;line-height:24px;color:#e6e8ec;font-family:&#x27;Geist Mono&#x27;, ui-monospace, SFMono-Regular, Menlo, Monaco, &#x27;Courier New&#x27;, monospace;margin:8px 0;margin-top:8px;margin-right:0;margin-bottom:8px;margin-left:0">{{.CurrentDigest}}</p></td></tr></tbody></table><hr style="width:100%;border:none;border-color:#3a3e45;border-top:1px solid #eaeaea;margin:4px 0"/><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation" style="margin-bottom:0"><tbody style="width:100%"><tr style="width:100%"><td data-id="__react-email-column" style="width:140px;vertical-align:top;padding-right:12px">
-<p style="font-size:14px;line-height:24px;font-weight:600;color:#9298a3;margin:8px 0;margin-top:8px;margin-right:0;margin-bottom:8px;margin-left:0">Latest Digest:</p></td><td data-id="__react-email-column"><p style="font-size:13px;line-height:24px;color:#e6e8ec;font-family:&#x27;Geist Mono&#x27;, ui-monospace, SFMono-Regular, Menlo, Monaco, &#x27;Courier New&#x27;, monospace;margin:8px 0;margin-top:8px;margin-right:0;margin-bottom:8px;margin-left:0">{{.LatestDigest}}</p></td></tr></tbody></table><hr style="width:100%;border:none;border-color:#3a3e45;border-top:1px solid #eaeaea;margin:4px 0"/><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation" style="margin-bottom:0"><tbody style="width:100%"><tr style="width:100%"><td data-id="__react-email-column" style="width:140px;vertical-align:top;padding-right:12px">
-<p style="font-size:14px;line-height:24px;font-weight:600;color:#9298a3;margin:8px 0;margin-top:8px;margin-right:0;margin-bottom:8px;margin-left:0">Checked At:</p></td><td data-id="__react-email-column"><p style="font-size:14px;line-height:24px;color:#e6e8ec;margin:8px 0;word-break:break-word;margin-top:8px;margin-right:0;margin-bottom:8px;margin-left:0">{{.CheckTime}}</p></td></tr></tbody></table></td></tr></tbody></table><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation" style="margin-top:24px"><tbody><tr><td><p style="font-size:13px;line-height:20px;color:#9298a3;margin:0;margin-top:0;margin-bottom:0;margin-left:0;margin-right:0">This is an automated notification from Arcane.<!-- --> Please review and update your container when ready.</p></td></tr></tbody></table></div><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation" style="text-align:center;margin-top:32px"><tbody><tr>
-<td style="padding-top:24px"><p style="font-size:14px;line-height:20px;margin:0;color:#9298a3;margin-top:0;margin-bottom:0;margin-left:0;margin-right:0"><a href="{{.AppURL}}" style="color:#a855f7;text-decoration-line:none;text-decoration:none;font-weight:500" target="_blank">Open Arcane Dashboard β†’</a></p></td></tr></tbody></table></td></tr></tbody></table></td></tr></tbody></table><!--/$--></body></html>{{end}}
diff --git a/backend/resources/email-templates/image-update_text.tmpl b/backend/resources/email-templates/image-update_text.tmpl
deleted file mode 100644
index 43804c03b..000000000
--- a/backend/resources/email-templates/image-update_text.tmpl
+++ /dev/null
@@ -1,48 +0,0 @@
-{{define "root"}}CONTAINER IMAGE UPDATE
-
-A new update has been detected for your container image.
-
-Environment:
-
-{{.Environment}}
-
-----------------------------------------
-
-Image:
-
-{{.ImageRef}}
-
-----------------------------------------
-
-Status:
-
-βœ“ Update Available
-
-----------------------------------------
-
-Update Type:
-
-{{.UpdateType}}
-
-----------------------------------------
-
-Current Digest:
-
-{{.CurrentDigest}}
-
-----------------------------------------
-
-Latest Digest:
-
-{{.LatestDigest}}
-
-----------------------------------------
-
-Checked At:
-
-{{.CheckTime}}
-
-This is an automated notification from Arcane. Please review and update your c
-ontainer when ready.
-
-Open Arcane Dashboard β†’ {{.AppURL}}{{end}}
diff --git a/backend/resources/email-templates/prune-report_html.tmpl b/backend/resources/email-templates/prune-report_html.tmpl
deleted file mode 100644
index ddf441943..000000000
--- a/backend/resources/email-templates/prune-report_html.tmpl
+++ /dev/null
@@ -1,10 +0,0 @@
-{{define "root"}}<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html dir="ltr" lang="en"><head><meta content="text/html; charset=UTF-8" http-equiv="Content-Type"/><meta name="x-apple-disable-message-reformatting"/></head><body dir="ltr" lang="en" style="background-color:#24262b;padding:0"><!--$--><!--html--><!--head--><!--body--><table border="0" width="100%" cellPadding="0" cellSpacing="0" role="presentation" align="center"><tbody><tr><td dir="ltr" lang="en" style="padding:40px 20px;background-color:#24262b;font-family:&#x27;Montserrat&#x27;, -apple-system, BlinkMacSystemFont, &#x27;Segoe UI&#x27;, Roboto, &#x27;Helvetica Neue&#x27;, Arial, sans-serif"><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation" style="max-width:37.5em;width:600px;margin:0 auto"><tbody><tr style="width:100%"><td>
-<table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation" style="text-align:center;margin-bottom:32px"><tbody><tr><td><img alt="Arcane" height="auto" src="{{.LogoURL}}" style="display:inline-block;outline:none;border:none;text-decoration:none;width:180px;height:auto" width="180"/></td></tr></tbody></table><div style="background-color:#31343a;border:1px solid #3a3e45;padding:32px;border-radius:14px;box-shadow:none"><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation"><tbody style="width:100%"><tr style="width:100%"><td data-id="__react-email-column"><h1 style="font-size:24px;font-weight:bold;margin:0;color:#f5f7fa;font-family:&#x27;Geist Mono&#x27;, ui-monospace, SFMono-Regular, Menlo, Monaco, &#x27;Courier New&#x27;, monospace">System Prune Report</h1></td><td align="right" data-id="__react-email-column"></td></tr></tbody></table>
-<table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation" style="margin-top:20px;text-align:center;background-color:#2b2e34;border:1px solid #3a3e45;border-radius:10px"><tbody><tr><td style="padding:20px"><p style="font-size:12px;line-height:18px;letter-spacing:0.08em;text-transform:uppercase;color:#9298a3;margin:0;margin-top:0;margin-bottom:0;margin-left:0;margin-right:0">Total Reclaimed</p><p style="font-size:30px;line-height:36px;font-weight:700;color:#34d399;margin:8px 0 0 0;margin-top:8px;margin-right:0;margin-bottom:0;margin-left:0">{{.TotalSpaceReclaimed}}</p></td></tr></tbody></table><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation" style="margin-top:18px;background-color:#2b2e34;border:1px solid #3a3e45;border-radius:10px"><tbody><tr><td style="padding:20px"><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation" style="margin-bottom:0">
-<tbody style="width:100%"><tr style="width:100%"><td data-id="__react-email-column" style="width:180px;vertical-align:top;padding-right:12px"><p style="font-size:14px;line-height:24px;font-weight:600;color:#9298a3;margin:8px 0;margin-top:8px;margin-right:0;margin-bottom:8px;margin-left:0">Environment:</p></td><td data-id="__react-email-column"><p style="font-size:14px;line-height:24px;color:#e6e8ec;margin:8px 0;word-break:break-word;font-family:&#x27;Geist Mono&#x27;, ui-monospace, SFMono-Regular, Menlo, Monaco, &#x27;Courier New&#x27;, monospace;margin-top:8px;margin-right:0;margin-bottom:8px;margin-left:0">{{.Environment}}</p></td></tr></tbody></table><hr style="width:100%;border:none;border-color:#3a3e45;border-top:1px solid #eaeaea;margin:4px 0"/><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation" style="margin-bottom:0"><tbody style="width:100%"><tr style="width:100%">
-<td data-id="__react-email-column" style="width:180px;vertical-align:top;padding-right:12px"><p style="font-size:14px;line-height:24px;font-weight:600;color:#9298a3;margin:8px 0;margin-top:8px;margin-right:0;margin-bottom:8px;margin-left:0">Status:</p></td><td data-id="__react-email-column"><p style="font-size:14px;line-height:24px;color:#e6e8ec;margin:8px 0;word-break:break-word;font-family:&#x27;Geist Mono&#x27;, ui-monospace, SFMono-Regular, Menlo, Monaco, &#x27;Courier New&#x27;, monospace;margin-top:8px;margin-right:0;margin-bottom:8px;margin-left:0">{{.Status}}</p></td></tr></tbody></table><hr style="width:100%;border:none;border-color:#3a3e45;border-top:1px solid #eaeaea;margin:4px 0"/><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation" style="margin-bottom:0"><tbody style="width:100%"><tr style="width:100%"><td data-id="__react-email-column" style="width:180px;vertical-align:top;padding-right:12px">
-<p style="font-size:14px;line-height:24px;font-weight:600;color:#9298a3;margin:8px 0;margin-top:8px;margin-right:0;margin-bottom:8px;margin-left:0">Containers:</p></td><td data-id="__react-email-column"><p style="font-size:14px;line-height:24px;color:#e6e8ec;margin:8px 0;word-break:break-word;font-family:&#x27;Geist Mono&#x27;, ui-monospace, SFMono-Regular, Menlo, Monaco, &#x27;Courier New&#x27;, monospace;margin-top:8px;margin-right:0;margin-bottom:8px;margin-left:0">{{.ContainerSpaceReclaimed}}</p></td></tr></tbody></table><hr style="width:100%;border:none;border-color:#3a3e45;border-top:1px solid #eaeaea;margin:4px 0"/><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation" style="margin-bottom:0"><tbody style="width:100%"><tr style="width:100%"><td data-id="__react-email-column" style="width:180px;vertical-align:top;padding-right:12px">
-<p style="font-size:14px;line-height:24px;font-weight:600;color:#9298a3;margin:8px 0;margin-top:8px;margin-right:0;margin-bottom:8px;margin-left:0">Images:</p></td><td data-id="__react-email-column"><p style="font-size:14px;line-height:24px;color:#e6e8ec;margin:8px 0;word-break:break-word;font-family:&#x27;Geist Mono&#x27;, ui-monospace, SFMono-Regular, Menlo, Monaco, &#x27;Courier New&#x27;, monospace;margin-top:8px;margin-right:0;margin-bottom:8px;margin-left:0">{{.ImageSpaceReclaimed}}</p></td></tr></tbody></table><hr style="width:100%;border:none;border-color:#3a3e45;border-top:1px solid #eaeaea;margin:4px 0"/><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation" style="margin-bottom:0"><tbody style="width:100%"><tr style="width:100%"><td data-id="__react-email-column" style="width:180px;vertical-align:top;padding-right:12px">
-<p style="font-size:14px;line-height:24px;font-weight:600;color:#9298a3;margin:8px 0;margin-top:8px;margin-right:0;margin-bottom:8px;margin-left:0">Volumes:</p></td><td data-id="__react-email-column"><p style="font-size:14px;line-height:24px;color:#e6e8ec;margin:8px 0;word-break:break-word;font-family:&#x27;Geist Mono&#x27;, ui-monospace, SFMono-Regular, Menlo, Monaco, &#x27;Courier New&#x27;, monospace;margin-top:8px;margin-right:0;margin-bottom:8px;margin-left:0">{{.VolumeSpaceReclaimed}}</p></td></tr></tbody></table><hr style="width:100%;border:none;border-color:#3a3e45;border-top:1px solid #eaeaea;margin:4px 0"/><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation" style="margin-bottom:0"><tbody style="width:100%"><tr style="width:100%"><td data-id="__react-email-column" style="width:180px;vertical-align:top;padding-right:12px">
-<p style="font-size:14px;line-height:24px;font-weight:600;color:#9298a3;margin:8px 0;margin-top:8px;margin-right:0;margin-bottom:8px;margin-left:0">Build Cache:</p></td><td data-id="__react-email-column"><p style="font-size:14px;line-height:24px;color:#e6e8ec;margin:8px 0;word-break:break-word;font-family:&#x27;Geist Mono&#x27;, ui-monospace, SFMono-Regular, Menlo, Monaco, &#x27;Courier New&#x27;, monospace;margin-top:8px;margin-right:0;margin-bottom:8px;margin-left:0">{{.BuildCacheSpaceReclaimed}}</p></td></tr></tbody></table></td></tr></tbody></table><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation" style="margin-top:20px"><tbody><tr><td><p style="font-size:12px;line-height:18px;color:#9298a3;margin:0;margin-top:0;margin-bottom:0;margin-left:0;margin-right:0">Generated by Arcane at <!-- -->{{.Time}}</p></td></tr></tbody></table></div>
-<table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation" style="text-align:center;margin-top:32px"><tbody><tr><td style="padding-top:24px"><p style="font-size:14px;line-height:20px;margin:0;color:#9298a3;margin-top:0;margin-bottom:0;margin-left:0;margin-right:0"><a href="{{.AppURL}}" style="color:#a855f7;text-decoration-line:none;text-decoration:none;font-weight:500" target="_blank">Open Arcane Dashboard β†’</a></p></td></tr></tbody></table></td></tr></tbody></table></td></tr></tbody></table><!--/$--></body></html>{{end}}
diff --git a/backend/resources/email-templates/prune-report_text.tmpl b/backend/resources/email-templates/prune-report_text.tmpl
deleted file mode 100644
index d92cd11ed..000000000
--- a/backend/resources/email-templates/prune-report_text.tmpl
+++ /dev/null
@@ -1,43 +0,0 @@
-{{define "root"}}SYSTEM PRUNE REPORT
-
-Total Reclaimed
-
-{{.TotalSpaceReclaimed}}
-
-Environment:
-
-{{.Environment}}
-
-----------------------------------------
-
-Status:
-
-{{.Status}}
-
-----------------------------------------
-
-Containers:
-
-{{.ContainerSpaceReclaimed}}
-
-----------------------------------------
-
-Images:
-
-{{.ImageSpaceReclaimed}}
-
-----------------------------------------
-
-Volumes:
-
-{{.VolumeSpaceReclaimed}}
-
-----------------------------------------
-
-Build Cache:
-
-{{.BuildCacheSpaceReclaimed}}
-
-Generated by Arcane at {{.Time}}
-
-Open Arcane Dashboard β†’ {{.AppURL}}{{end}}
diff --git a/backend/resources/email-templates/test_html.tmpl b/backend/resources/email-templates/test_html.tmpl
deleted file mode 100644
index 98a3a9023..000000000
--- a/backend/resources/email-templates/test_html.tmpl
+++ /dev/null
@@ -1,4 +0,0 @@
-{{define "root"}}<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html dir="ltr" lang="en"><head><meta content="text/html; charset=UTF-8" http-equiv="Content-Type"/><meta name="x-apple-disable-message-reformatting"/></head><body dir="ltr" lang="en" style="background-color:#24262b;padding:0"><!--$--><!--html--><!--head--><!--body--><table border="0" width="100%" cellPadding="0" cellSpacing="0" role="presentation" align="center"><tbody><tr><td dir="ltr" lang="en" style="padding:40px 20px;background-color:#24262b;font-family:&#x27;Montserrat&#x27;, -apple-system, BlinkMacSystemFont, &#x27;Segoe UI&#x27;, Roboto, &#x27;Helvetica Neue&#x27;, Arial, sans-serif"><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation" style="max-width:37.5em;width:600px;margin:0 auto"><tbody><tr style="width:100%"><td>
-<table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation" style="text-align:center;margin-bottom:32px"><tbody><tr><td><img alt="Arcane" height="auto" src="{{.LogoURL}}" style="display:inline-block;outline:none;border:none;text-decoration:none;width:180px;height:auto" width="180"/></td></tr></tbody></table><div style="background-color:#31343a;border:1px solid #3a3e45;padding:32px;border-radius:14px;box-shadow:none"><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation"><tbody style="width:100%"><tr style="width:100%"><td data-id="__react-email-column"><h1 style="font-size:24px;font-weight:bold;margin:0;color:#f5f7fa;font-family:&#x27;Geist Mono&#x27;, ui-monospace, SFMono-Regular, Menlo, Monaco, &#x27;Courier New&#x27;, monospace">Test Email</h1></td><td align="right" data-id="__react-email-column"></td></tr></tbody></table>
-<p style="font-size:16px;line-height:24px;color:#c7cbd1;margin-top:16px;margin-bottom:0">Your email setup is working correctly!</p><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation" style="margin-top:20px;background-color:#2b2e34;border:1px solid #3a3e45;border-radius:10px"><tbody><tr><td style="padding:20px"><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation" style="margin-bottom:0"><tbody style="width:100%"><tr style="width:100%"><td data-id="__react-email-column" style="width:140px;vertical-align:top;padding-right:12px"><p style="font-size:14px;line-height:24px;font-weight:600;color:#9298a3;margin:8px 0;margin-top:8px;margin-right:0;margin-bottom:8px;margin-left:0">Environment:</p></td><td data-id="__react-email-column"><p style="font-size:14px;line-height:24px;color:#e6e8ec;margin:8px 0;word-break:break-word;margin-top:8px;margin-right:0;margin-bottom:8px;margin-left:0">
-{{.Environment}}</p></td></tr></tbody></table></td></tr></tbody></table></div><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation" style="text-align:center;margin-top:32px"><tbody><tr><td style="padding-top:24px"><p style="font-size:14px;line-height:20px;margin:0;color:#9298a3;margin-top:0;margin-bottom:0;margin-left:0;margin-right:0"><a href="{{.AppURL}}" style="color:#a855f7;text-decoration-line:none;text-decoration:none;font-weight:500" target="_blank">Open Arcane Dashboard β†’</a></p></td></tr></tbody></table></td></tr></tbody></table></td></tr></tbody></table><!--/$--></body></html>{{end}}
diff --git a/backend/resources/email-templates/test_text.tmpl b/backend/resources/email-templates/test_text.tmpl
deleted file mode 100644
index d3ab46209..000000000
--- a/backend/resources/email-templates/test_text.tmpl
+++ /dev/null
@@ -1,9 +0,0 @@
-{{define "root"}}TEST EMAIL
-
-Your email setup is working correctly!
-
-Environment:
-
-{{.Environment}}
-
-Open Arcane Dashboard β†’ {{.AppURL}}{{end}}
diff --git a/backend/resources/email-templates/vulnerability-summary_html.tmpl b/backend/resources/email-templates/vulnerability-summary_html.tmpl
deleted file mode 100644
index b18f56f41..000000000
--- a/backend/resources/email-templates/vulnerability-summary_html.tmpl
+++ /dev/null
@@ -1,8 +0,0 @@
-{{define "root"}}<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html dir="ltr" lang="en"><head><meta content="text/html; charset=UTF-8" http-equiv="Content-Type"/><meta name="x-apple-disable-message-reformatting"/></head><body dir="ltr" lang="en" style="background-color:#24262b;padding:0"><!--$--><!--html--><!--head--><!--body--><table border="0" width="100%" cellPadding="0" cellSpacing="0" role="presentation" align="center"><tbody><tr><td dir="ltr" lang="en" style="padding:40px 20px;background-color:#24262b;font-family:&#x27;Montserrat&#x27;, -apple-system, BlinkMacSystemFont, &#x27;Segoe UI&#x27;, Roboto, &#x27;Helvetica Neue&#x27;, Arial, sans-serif"><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation" style="max-width:37.5em;width:600px;margin:0 auto"><tbody><tr style="width:100%"><td>
-<table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation" style="text-align:center;margin-bottom:32px"><tbody><tr><td><img alt="Arcane" height="auto" src="{{.LogoURL}}" style="display:inline-block;outline:none;border:none;text-decoration:none;width:180px;height:auto" width="180"/></td></tr></tbody></table><div style="background-color:#31343a;border:1px solid #3a3e45;padding:32px;border-radius:14px;box-shadow:none"><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation"><tbody style="width:100%"><tr style="width:100%"><td data-id="__react-email-column"><h1 style="font-size:24px;font-weight:bold;margin:0;color:#f5f7fa;font-family:&#x27;Geist Mono&#x27;, ui-monospace, SFMono-Regular, Menlo, Monaco, &#x27;Courier New&#x27;, monospace">Daily Vulnerability Summary</h1></td><td align="right" data-id="__react-email-column"></td></tr></tbody></table>
-<table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation" style="margin-top:16px"><tbody><tr><td><p style="font-size:14px;line-height:22px;color:#9298a3;margin:0;margin-top:0;margin-bottom:0;margin-left:0;margin-right:0">{{.SummaryLabel}}</p></td></tr></tbody></table><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation" style="margin-top:20px;background-color:#2b2e34;border:1px solid #3a3e45;border-radius:10px"><tbody><tr><td style="padding:20px"><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation" style="margin-bottom:0"><tbody style="width:100%"><tr style="width:100%"><td data-id="__react-email-column" style="width:170px;vertical-align:top;padding-right:12px"><p style="font-size:14px;line-height:24px;font-weight:600;color:#9298a3;margin:8px 0;margin-top:8px;margin-right:0;margin-bottom:8px;margin-left:0">Environment:</p></td>
-<td data-id="__react-email-column"><p style="font-size:14px;line-height:24px;color:#e6e8ec;margin:8px 0;word-break:break-word;margin-top:8px;margin-right:0;margin-bottom:8px;margin-left:0">{{.Environment}}</p></td></tr></tbody></table><hr style="width:100%;border:none;border-color:#3a3e45;border-top:1px solid #eaeaea;margin:4px 0"/><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation" style="margin-bottom:0"><tbody style="width:100%"><tr style="width:100%"><td data-id="__react-email-column" style="width:170px;vertical-align:top;padding-right:12px"><p style="font-size:14px;line-height:24px;font-weight:600;color:#9298a3;margin:8px 0;margin-top:8px;margin-right:0;margin-bottom:8px;margin-left:0">Overview:</p></td><td data-id="__react-email-column"><p style="font-size:14px;line-height:24px;color:#e6e8ec;margin:8px 0;word-break:break-word;margin-top:8px;margin-right:0;margin-bottom:8px;margin-left:0">{{.Overview}}</p></td></tr></tbody></table>
-<hr style="width:100%;border:none;border-color:#3a3e45;border-top:1px solid #eaeaea;margin:4px 0"/><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation" style="margin-bottom:0"><tbody style="width:100%"><tr style="width:100%"><td data-id="__react-email-column" style="width:170px;vertical-align:top;padding-right:12px"><p style="font-size:14px;line-height:24px;font-weight:600;color:#9298a3;margin:8px 0;margin-top:8px;margin-right:0;margin-bottom:8px;margin-left:0">Fixable vulnerabilities:</p></td><td data-id="__react-email-column"><p style="font-size:14px;line-height:24px;font-weight:600;color:#34d399;margin:8px 0;word-break:break-word;margin-top:8px;margin-right:0;margin-bottom:8px;margin-left:0">{{.FixableCount}}</p></td></tr></tbody></table><hr style="width:100%;border:none;border-color:#3a3e45;border-top:1px solid #eaeaea;margin:4px 0"/>
-<table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation" style="margin-bottom:0"><tbody style="width:100%"><tr style="width:100%"><td data-id="__react-email-column" style="width:170px;vertical-align:top;padding-right:12px"><p style="font-size:14px;line-height:24px;font-weight:600;color:#9298a3;margin:8px 0;margin-top:8px;margin-right:0;margin-bottom:8px;margin-left:0">Severity breakdown:</p></td><td data-id="__react-email-column"><p style="font-size:14px;line-height:24px;color:#e6e8ec;margin:8px 0;word-break:break-word;margin-top:8px;margin-right:0;margin-bottom:8px;margin-left:0">{{.SeverityBreakdown}}</p></td></tr></tbody></table><hr style="width:100%;border:none;border-color:#3a3e45;border-top:1px solid #eaeaea;margin:4px 0"/><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation" style="margin-bottom:0"><tbody style="width:100%"><tr style="width:100%">
-<td data-id="__react-email-column" style="width:170px;vertical-align:top;padding-right:12px"><p style="font-size:14px;line-height:24px;font-weight:600;color:#9298a3;margin:8px 0;margin-top:8px;margin-right:0;margin-bottom:8px;margin-left:0">Sample CVEs:</p></td><td data-id="__react-email-column"><p style="font-size:14px;line-height:24px;color:#e6e8ec;margin:8px 0;word-break:break-word;margin-top:8px;margin-right:0;margin-bottom:8px;margin-left:0">{{.SampleCVEs}}</p></td></tr></tbody></table></td></tr></tbody></table><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation" style="margin-top:24px"><tbody><tr><td><p style="font-size:13px;line-height:20px;color:#9298a3;margin:0;margin-top:0;margin-bottom:0;margin-left:0;margin-right:0">Open Arcane to review full vulnerability details and remediation actions.</p></td></tr></tbody></table></div>
-<table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation" style="text-align:center;margin-top:32px"><tbody><tr><td style="padding-top:24px"><p style="font-size:14px;line-height:20px;margin:0;color:#9298a3;margin-top:0;margin-bottom:0;margin-left:0;margin-right:0"><a href="{{.AppURL}}" style="color:#a855f7;text-decoration-line:none;text-decoration:none;font-weight:500" target="_blank">Open Arcane Dashboard β†’</a></p></td></tr></tbody></table></td></tr></tbody></table></td></tr></tbody></table><!--/$--></body></html>{{end}}
diff --git a/backend/resources/email-templates/vulnerability-summary_text.tmpl b/backend/resources/email-templates/vulnerability-summary_text.tmpl
deleted file mode 100644
index 6ed09fb4b..000000000
--- a/backend/resources/email-templates/vulnerability-summary_text.tmpl
+++ /dev/null
@@ -1,35 +0,0 @@
-{{define "root"}}DAILY VULNERABILITY SUMMARY
-
-{{.SummaryLabel}}
-
-Environment:
-
-{{.Environment}}
-
-----------------------------------------
-
-Overview:
-
-{{.Overview}}
-
-----------------------------------------
-
-Fixable vulnerabilities:
-
-{{.FixableCount}}
-
-----------------------------------------
-
-Severity breakdown:
-
-{{.SeverityBreakdown}}
-
-----------------------------------------
-
-Sample CVEs:
-
-{{.SampleCVEs}}
-
-Open Arcane to review full vulnerability details and remediation actions.
-
-Open Arcane Dashboard β†’ {{.AppURL}}{{end}}
diff --git a/backend/resources/embed.go b/backend/resources/embed.go
index f2b6e7e76..b5ecf6599 100644
--- a/backend/resources/embed.go
+++ b/backend/resources/embed.go
@@ -4,5 +4,5 @@ import "embed"
// Embedded file systems for the project
-//go:embed migrations images email-templates aaguids.json
+//go:embed migrations images aaguids.json
var FS embed.FS
diff --git a/backend/resources/images/development/logo-email.png b/backend/resources/images/development/logo-email.png
deleted file mode 100644
index 70f7c8a23..000000000
Binary files a/backend/resources/images/development/logo-email.png and /dev/null differ
diff --git a/backend/resources/images/logo-email.png b/backend/resources/images/logo-email.png
deleted file mode 100644
index 21d28608b..000000000
Binary files a/backend/resources/images/logo-email.png and /dev/null differ
diff --git a/docker/Dockerfile b/docker/Dockerfile
index fab11c303..0bab06775 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -8,7 +8,7 @@ ENV CI=true
WORKDIR /app
COPY --chown=vp:vp --parents pnpm-lock.yaml pnpm-workspace.yaml package.json \
- frontend/package.json tests/package.json email-templates/package.json ./
+ frontend/package.json tests/package.json ./
RUN --mount=type=cache,id=arcane-pnpm-v3,target=/home/vp/.local/share/pnpm/store,sharing=locked,uid=1000,gid=1000 \
vp install --frozen-lockfile --prefer-offline --filter ./frontend...
diff --git a/docker/Dockerfile.dev b/docker/Dockerfile.dev
index 141b8ed7e..71eb95324 100644
--- a/docker/Dockerfile.dev
+++ b/docker/Dockerfile.dev
@@ -9,7 +9,7 @@ WORKDIR /app
# Copy dependency manifests first to preserve the install layer cache
COPY --chown=vp:vp --parents pnpm-lock.yaml pnpm-workspace.yaml package.json \
- frontend/package.json tests/package.json email-templates/package.json ./
+ frontend/package.json tests/package.json ./
# Install dependencies with a persistent package store cache
RUN mkdir -p /home/vp/.local/share/pnpm/store
diff --git a/email-templates/build.ts b/email-templates/build.ts
deleted file mode 100644
index 5ab7f8f53..000000000
--- a/email-templates/build.ts
+++ /dev/null
@@ -1,129 +0,0 @@
-import { render } from 'react-email';
-import * as fs from 'node:fs';
-import * as path from 'node:path';
-import { colors, fonts } from './theme';
-
-const outputDir = '../backend/resources/email-templates';
-
-if (!fs.existsSync(outputDir)) {
- fs.mkdirSync(outputDir, { recursive: true });
-}
-
-function getTemplateName(filename: string): string {
- return filename.replace('.tsx', '');
-}
-
-/**
- * Tag-aware wrapping:
- * - Prefer breaking immediately after the last '>' within maxLen.
- * - Never break at spaces.
- * - If no '>' exists in the window, hard-break at maxLen.
- */
-function tagAwareWrap(input: string, maxLen: number): string {
- const out: string[] = [];
-
- for (const originalLine of input.split(/\r?\n/)) {
- let line = originalLine;
- while (line.length > maxLen) {
- let breakPos = line.lastIndexOf('>', maxLen);
-
- // If '>' happens to be exactly at maxLen, break after it
- if (breakPos === maxLen) breakPos = maxLen;
-
- // If we found a '>' before the limit, break right after it
- if (breakPos > -1 && breakPos < maxLen) {
- out.push(line.slice(0, breakPos + 1));
- line = line.slice(breakPos + 1);
- continue;
- }
-
- // No suitable tag end foundβ€”hard break
- out.push(line.slice(0, maxLen));
- line = line.slice(maxLen);
- }
- out.push(line);
- }
-
- return out.join('\n');
-}
-
-async function buildTemplateFile(Component: any, templateName: string, isPlainText: boolean) {
- const rendered = isPlainText
- ? await render(Component(Component.TemplateProps), { plainText: true })
- : await render(Component(Component.TemplateProps), { plainText: false });
-
- // Normalize quotes
- let normalized = rendered.replace(/&quot;/g, '"');
-
- // Post-process: Replace special placeholders with Go template syntax
- // This allows us to inject Go template loops that can't be rendered by React
- if (isPlainText) {
- // For plain text, use simple line-by-line rendering
- normalized = normalized.replace(
- /IMAGELIST_PLACEHOLDER/g,
- '{{range .ImageList}}β€’ {{.}}\n{{end}}'
- );
- } else {
- // For HTML, wrap each item in a paragraph tag with proper styling
- // Keep this in sync with imageItemStyle in emails/batch-image-updates.tsx.
- normalized = normalized.replace(
- /<p[^>]*>IMAGELIST_PLACEHOLDER<\/p>/g,
- `{{range .ImageList}}<p style="font-size:13px;line-height:20px;color:${colors.textBody};margin:4px 0;font-family:${fonts.mono}">β€’ {{.}}</p>{{end}}`
- );
- }
-
- // Enforce line length: prefer tag boundaries, never spaces
- const maxLen = isPlainText ? 78 : 998; // RFC-safe
- const safe = tagAwareWrap(normalized, maxLen);
-
- const goTemplate = `{{define "root"}}${safe}{{end}}\n`;
- const suffix = isPlainText ? '_text.tmpl' : '_html.tmpl';
- const templatePath = path.join(outputDir, `${templateName}${suffix}`);
-
- fs.writeFileSync(templatePath, goTemplate);
-}
-
-async function discoverAndBuildTemplates() {
- console.log('Discovering and building email templates...');
-
- const emailsDir = './emails';
- const files = fs.readdirSync(emailsDir);
-
- for (const file of files) {
- if (!file.endsWith('.tsx')) continue;
-
- const templateName = getTemplateName(file);
- const modulePath = `./${emailsDir}/${file}`;
-
- console.log(`Building ${templateName}...`);
-
- try {
- const module = await import(modulePath);
- const Component = module.default || module[Object.keys(module)[0]];
-
- if (!Component) {
- console.error(`βœ— No component found in ${file}`);
- continue;
- }
-
- if (!Component.TemplateProps) {
- console.error(`βœ— No TemplateProps found in ${file}`);
- continue;
- }
-
- await buildTemplateFile(Component, templateName, false); // HTML
- await buildTemplateFile(Component, templateName, true); // Text
-
- console.log(`βœ“ Built ${templateName}`);
- } catch (error) {
- console.error(`βœ— Error building ${templateName}:`, error);
- }
- }
-}
-
-async function main() {
- await discoverAndBuildTemplates();
- console.log('All templates built successfully!');
-}
-
-main().catch(console.error);
diff --git a/email-templates/components/base-template.tsx b/email-templates/components/base-template.tsx
deleted file mode 100644
index 9593fb774..000000000
--- a/email-templates/components/base-template.tsx
+++ /dev/null
@@ -1,77 +0,0 @@
-import { Body, Container, Head, Html, Img, Link, Section, Text } from 'react-email';
-import { colors, fonts, radii } from '../theme';
-
-interface BaseTemplateProps {
- logoURL?: string;
- appURL?: string;
- children: React.ReactNode;
-}
-
-export const BaseTemplate = ({ logoURL, appURL, children }: BaseTemplateProps) => {
- return (
- <Html>
- <Head />
- <Body style={mainStyle}>
- <Container style={{ width: '600px', margin: '0 auto' }}>
- <Section style={logoSection}>
- <Img src={logoURL} width="180" height="auto" alt="Arcane" style={logoStyle} />
- </Section>
- <div style={cardStyle}>{children}</div>
- {appURL && (
- <Section style={footerSection}>
- <Text style={footerText}>
- <Link href={appURL} style={footerLink}>
- Open Arcane Dashboard β†’
- </Link>
- </Text>
- </Section>
- )}
- </Container>
- </Body>
- </Html>
- );
-};
-
-const mainStyle = {
- padding: '40px 20px',
- backgroundColor: colors.bg,
- fontFamily: fonts.sans
-};
-
-const logoSection = {
- textAlign: 'center' as const,
- marginBottom: '32px'
-};
-
-const logoStyle = {
- width: '180px',
- height: 'auto',
- display: 'inline-block'
-};
-
-const cardStyle = {
- backgroundColor: colors.card,
- border: `1px solid ${colors.cardBorder}`,
- padding: '32px',
- borderRadius: radii.card,
- boxShadow: 'none'
-};
-
-const footerSection = {
- textAlign: 'center' as const,
- marginTop: '32px',
- paddingTop: '24px'
-};
-
-const footerText = {
- margin: '0',
- fontSize: '14px',
- lineHeight: '20px',
- color: colors.textMuted
-};
-
-const footerLink = {
- color: colors.accent,
- textDecoration: 'none',
- fontWeight: '500' as const
-};
diff --git a/email-templates/components/button.tsx b/email-templates/components/button.tsx
deleted file mode 100644
index bb5b2d803..000000000
--- a/email-templates/components/button.tsx
+++ /dev/null
@@ -1,35 +0,0 @@
-import { Button as EmailButton } from 'react-email';
-import { colors, fonts, radii } from '../theme';
-
-interface ButtonProps {
- href: string;
- children: React.ReactNode;
- style?: React.CSSProperties;
-}
-
-export const Button = ({ href, children, style = {} }: ButtonProps) => {
- const buttonStyle = {
- backgroundColor: colors.accent,
- color: colors.buttonText,
- padding: '12px 24px',
- borderRadius: radii.button,
- fontSize: '15px',
- fontWeight: '500',
- fontFamily: fonts.sans,
- cursor: 'pointer',
- marginTop: '10px',
- ...style
- };
-
- return (
- <div style={buttonContainer}>
- <EmailButton style={buttonStyle} href={href}>
- {children}
- </EmailButton>
- </div>
- );
-};
-
-const buttonContainer = {
- textAlign: 'center' as const
-};
diff --git a/email-templates/components/card-header.tsx b/email-templates/components/card-header.tsx
deleted file mode 100644
index 75f1df695..000000000
--- a/email-templates/components/card-header.tsx
+++ /dev/null
@@ -1,34 +0,0 @@
-import { Column, Heading, Row, Text } from 'react-email';
-import { colors, fonts, radii } from '../theme';
-
-export default function CardHeader({ title, warning }: { title: string; warning?: boolean }) {
- return (
- <Row>
- <Column>
- <Heading as="h1" style={titleStyle}>
- {title}
- </Heading>
- </Column>
- <Column align="right">{warning && <Text style={warningStyle}>Warning</Text>}</Column>
- </Row>
- );
-}
-
-const titleStyle = {
- fontSize: '24px',
- fontWeight: 'bold' as const,
- margin: 0,
- color: colors.textPrimary,
- fontFamily: fonts.mono
-};
-
-const warningStyle = {
- backgroundColor: colors.warningBg,
- color: colors.warningText,
- padding: '4px 12px',
- borderRadius: radii.badge,
- fontSize: '12px',
- fontWeight: '600' as const,
- display: 'inline-block',
- margin: 0
-};
diff --git a/email-templates/emails/batch-image-updates.tsx b/email-templates/emails/batch-image-updates.tsx
deleted file mode 100644
index fc47f0ed0..000000000
--- a/email-templates/emails/batch-image-updates.tsx
+++ /dev/null
@@ -1,203 +0,0 @@
-import { Column, Hr, Row, Section, Text } from 'react-email';
-import { BaseTemplate } from '../components/base-template';
-import CardHeader from '../components/card-header';
-import { sharedPreviewProps, sharedTemplateProps } from '../props';
-import { colors, fonts, radii } from '../theme';
-
-interface BatchImageUpdatesEmailProps {
- logoURL: string;
- appURL: string;
- environment: string;
- updateCount: number;
- checkTime: string;
- imageList?: string[];
-}
-
-export const BatchImageUpdatesEmail = ({
- logoURL,
- appURL,
- environment,
- updateCount,
- checkTime,
- imageList = []
-}: BatchImageUpdatesEmailProps) => {
- // Handle both array (preview) and string (template placeholder)
- const images = Array.isArray(imageList) ? imageList : [];
-
- // For template generation, always include image list section with placeholder text
- // This will be replaced with Go template range syntax
- const showImageList = images.length > 0 || typeof imageList === 'string';
-
- return (
- <BaseTemplate logoURL={logoURL} appURL={appURL}>
- <CardHeader title="Image Updates Available" />
-
- <Section style={{ marginTop: '24px' }}>
- <Text style={mainTextStyle}>
- {updateCount === 1
- ? `1 container image has an update available.`
- : `${updateCount} container images have updates available.`}
- </Text>
- </Section>
-
- <Section style={infoSectionStyle}>
- <Row style={infoRowStyle}>
- <Column style={labelColumnStyle}>
- <Text style={labelStyle}>Environment:</Text>
- </Column>
- <Column>
- <Text style={valueStyle}>{environment}</Text>
- </Column>
- </Row>
-
- <Hr style={dividerStyle} />
-
- <Row style={infoRowStyle}>
- <Column style={labelColumnStyle}>
- <Text style={labelStyle}>Updates Available:</Text>
- </Column>
- <Column>
- <Text style={countStyle}>{updateCount}</Text>
- </Column>
- </Row>
-
- <Hr style={dividerStyle} />
-
- <Row style={infoRowStyle}>
- <Column style={labelColumnStyle}>
- <Text style={labelStyle}>Checked At:</Text>
- </Column>
- <Column>
- <Text style={valueStyle}>{checkTime}</Text>
- </Column>
- </Row>
- </Section>
-
- {showImageList && (
- <Section style={imageListSectionStyle}>
- <Text style={imageListHeaderStyle}>Images with Updates:</Text>
- {images.length > 0 ? (
- images.map((image, index) => (
- <Text key={index} style={imageItemStyle}>
- β€’ {image}
- </Text>
- ))
- ) : (
- <Text style={imageItemStyle}>IMAGELIST_PLACEHOLDER</Text>
- )}
- </Section>
- )}
-
- <Section style={{ marginTop: '24px' }}>
- <Text style={footerStyle}>
- Log in to Arcane to view details and update your containers.
- </Text>
- </Section>
- </BaseTemplate>
- );
-};
-
-export default BatchImageUpdatesEmail;
-
-const mainTextStyle = {
- fontSize: '16px',
- lineHeight: '24px',
- color: colors.textBody,
- margin: '0 0 16px 0'
-};
-
-const infoSectionStyle = {
- marginTop: '20px',
- backgroundColor: colors.panel,
- border: `1px solid ${colors.panelBorder}`,
- padding: '20px',
- borderRadius: radii.panel
-};
-
-const infoRowStyle = {
- marginBottom: '0'
-};
-
-const labelColumnStyle = {
- width: '160px',
- verticalAlign: 'top' as const,
- paddingRight: '12px'
-};
-
-const labelStyle = {
- fontSize: '14px',
- fontWeight: '600' as const,
- color: colors.textMuted,
- margin: '8px 0'
-};
-
-const valueStyle = {
- fontSize: '14px',
- color: colors.textValue,
- margin: '8px 0',
- wordBreak: 'break-word' as const
-};
-
-const countStyle = {
- fontSize: '24px',
- fontWeight: '700' as const,
- color: colors.success,
- margin: '8px 0'
-};
-
-const dividerStyle = {
- borderColor: colors.divider,
- margin: '4px 0'
-};
-
-const footerStyle = {
- fontSize: '13px',
- lineHeight: '20px',
- color: colors.textMuted,
- margin: '0'
-};
-
-const imageListSectionStyle = {
- marginTop: '24px',
- backgroundColor: colors.panel,
- border: `1px solid ${colors.panelBorder}`,
- padding: '16px',
- borderRadius: radii.panel
-};
-
-const imageListHeaderStyle = {
- fontSize: '14px',
- fontWeight: '600' as const,
- color: colors.textMuted,
- margin: '0 0 12px 0'
-};
-
-const imageItemStyle = {
- fontSize: '13px',
- lineHeight: '20px',
- color: colors.textBody,
- margin: '4px 0',
- fontFamily: fonts.mono
-};
-
-BatchImageUpdatesEmail.TemplateProps = {
- ...sharedTemplateProps,
- updateCount: '{{.UpdateCount}}',
- checkTime: '{{.CheckTime}}',
- imageList: 'TEMPLATE_PLACEHOLDER' // This triggers the image list section to render
-};
-
-BatchImageUpdatesEmail.PreviewProps = {
- ...sharedPreviewProps,
- updateCount: 7,
- checkTime: '2025-10-27 15:30:00 UTC',
- imageList: [
- 'ghcr.io/linuxserver/plex:latest',
- 'postgres:16-alpine',
- 'redis:7.2-alpine',
- 'nginx:latest',
- 'traefik:v3.0',
- 'portainer/portainer-ce:latest',
- 'grafana/grafana:latest'
- ]
-};
diff --git a/email-templates/emails/container-update.tsx b/email-templates/emails/container-update.tsx
deleted file mode 100644
index 48e984c79..000000000
--- a/email-templates/emails/container-update.tsx
+++ /dev/null
@@ -1,224 +0,0 @@
-import { Column, Hr, Row, Section, Text } from 'react-email';
-import { BaseTemplate } from '../components/base-template';
-import CardHeader from '../components/card-header';
-import { sharedPreviewProps, sharedTemplateProps } from '../props';
-import { colors, fonts, radii } from '../theme';
-
-interface ContainerUpdateEmailProps {
- logoURL: string;
- appURL: string;
- environment: string;
- containerName: string;
- imageRef: string;
- oldDigest: string;
- newDigest: string;
- updateTime: string;
-}
-
-export const ContainerUpdateEmail = ({
- logoURL,
- appURL,
- environment,
- containerName,
- imageRef,
- oldDigest,
- newDigest,
- updateTime
-}: ContainerUpdateEmailProps) => {
- const truncateDigest = (digest: string) => {
- if (digest.length > 19) {
- return digest.substring(0, 19) + '...';
- }
- return digest;
- };
-
- return (
- <BaseTemplate logoURL={logoURL} appURL={appURL}>
- <CardHeader title="Container Successfully Updated" />
-
- <Section style={{ marginTop: '24px' }}>
- <Text style={mainTextStyle}>
- Your container has been successfully updated with the latest image version.
- </Text>
- </Section>
-
- <Section style={infoSectionStyle}>
- <Row style={infoRowStyle}>
- <Column style={labelColumnStyle}>
- <Text style={labelStyle}>Environment:</Text>
- </Column>
- <Column>
- <Text style={valueStyle}>{environment}</Text>
- </Column>
- </Row>
-
- <Hr style={dividerStyle} />
-
- <Row style={infoRowStyle}>
- <Column style={labelColumnStyle}>
- <Text style={labelStyle}>Container:</Text>
- </Column>
- <Column>
- <Text style={valueStyle}>{containerName}</Text>
- </Column>
- </Row>
-
- <Hr style={dividerStyle} />
-
- <Row style={infoRowStyle}>
- <Column style={labelColumnStyle}>
- <Text style={labelStyle}>Image:</Text>
- </Column>
- <Column>
- <Text style={valueStyle}>{imageRef}</Text>
- </Column>
- </Row>
-
- <Hr style={dividerStyle} />
-
- <Row style={infoRowStyle}>
- <Column style={labelColumnStyle}>
- <Text style={labelStyle}>Status:</Text>
- </Column>
- <Column>
- <Text style={statusStyle}>βœ“ Updated Successfully</Text>
- </Column>
- </Row>
-
- {oldDigest && (
- <>
- <Hr style={dividerStyle} />
- <Row style={infoRowStyle}>
- <Column style={labelColumnStyle}>
- <Text style={labelStyle}>Previous Version:</Text>
- </Column>
- <Column>
- <Text style={digestStyle}>{truncateDigest(oldDigest)}</Text>
- </Column>
- </Row>
- </>
- )}
-
- {newDigest && (
- <>
- <Hr style={dividerStyle} />
- <Row style={infoRowStyle}>
- <Column style={labelColumnStyle}>
- <Text style={labelStyle}>Current Version:</Text>
- </Column>
- <Column>
- <Text style={digestStyle}>{truncateDigest(newDigest)}</Text>
- </Column>
- </Row>
- </>
- )}
-
- {updateTime && (
- <>
- <Hr style={dividerStyle} />
- <Row style={infoRowStyle}>
- <Column style={labelColumnStyle}>
- <Text style={labelStyle}>Updated At:</Text>
- </Column>
- <Column>
- <Text style={valueStyle}>{updateTime}</Text>
- </Column>
- </Row>
- </>
- )}
- </Section>
-
- <Section style={{ marginTop: '24px' }}>
- <Text style={footerStyle}>
- This is an automated notification from Arcane. Your container has been restarted with the
- new image version.
- </Text>
- </Section>
- </BaseTemplate>
- );
-};
-
-export default ContainerUpdateEmail;
-
-const mainTextStyle = {
- fontSize: '16px',
- lineHeight: '24px',
- color: colors.textBody,
- margin: '0 0 16px 0'
-};
-
-const infoSectionStyle = {
- marginTop: '20px',
- backgroundColor: colors.panel,
- border: `1px solid ${colors.panelBorder}`,
- padding: '20px',
- borderRadius: radii.panel
-};
-
-const infoRowStyle = {
- marginBottom: '0'
-};
-
-const labelColumnStyle = {
- width: '140px',
- verticalAlign: 'top' as const,
- paddingRight: '12px'
-};
-
-const labelStyle = {
- fontSize: '14px',
- fontWeight: '600' as const,
- color: colors.textMuted,
- margin: '8px 0'
-};
-
-const valueStyle = {
- fontSize: '14px',
- color: colors.textValue,
- margin: '8px 0',
- wordBreak: 'break-word' as const
-};
-
-const digestStyle = {
- fontSize: '13px',
- color: colors.textValue,
- fontFamily: fonts.mono,
- margin: '8px 0'
-};
-
-const statusStyle = {
- fontSize: '14px',
- fontWeight: '600' as const,
- color: colors.success,
- margin: '8px 0'
-};
-
-const dividerStyle = {
- borderColor: colors.divider,
- margin: '4px 0'
-};
-
-const footerStyle = {
- fontSize: '13px',
- lineHeight: '20px',
- color: colors.textMuted,
- margin: '0'
-};
-
-ContainerUpdateEmail.TemplateProps = {
- ...sharedTemplateProps,
- containerName: '{{.ContainerName}}',
- imageRef: '{{.ImageRef}}',
- oldDigest: '{{.OldDigest}}',
- newDigest: '{{.NewDigest}}',
- updateTime: '{{.UpdateTime}}'
-};
-
-ContainerUpdateEmail.PreviewProps = {
- ...sharedPreviewProps,
- containerName: 'my-app-container',
- imageRef: 'nginx:latest',
- oldDigest: 'sha256:abc123def456789012345678901234567890',
- newDigest: 'sha256:xyz789ghi012345678901234567890123456',
- updateTime: '2025-10-27 15:30:00 UTC'
-};
diff --git a/email-templates/emails/image-update.tsx b/email-templates/emails/image-update.tsx
deleted file mode 100644
index 57f4d1fba..000000000
--- a/email-templates/emails/image-update.tsx
+++ /dev/null
@@ -1,242 +0,0 @@
-import { Column, Hr, Row, Section, Text } from 'react-email';
-import { BaseTemplate } from '../components/base-template';
-import CardHeader from '../components/card-header';
-import { sharedPreviewProps, sharedTemplateProps } from '../props';
-import { colors, fonts, radii } from '../theme';
-
-interface ImageUpdateEmailProps {
- logoURL: string;
- appURL: string;
- environment: string;
- imageRef: string;
- hasUpdate: boolean;
- updateType: string;
- currentDigest: string;
- latestDigest: string;
- checkTime: string;
-}
-
-export const ImageUpdateEmail = ({
- logoURL,
- appURL,
- environment,
- imageRef,
- hasUpdate,
- updateType,
- currentDigest,
- latestDigest,
- checkTime
-}: ImageUpdateEmailProps) => {
- const truncateDigest = (digest: string) => {
- if (digest.length > 19) {
- return digest.substring(0, 19) + '...';
- }
- return digest;
- };
-
- return (
- <BaseTemplate logoURL={logoURL} appURL={appURL}>
- <CardHeader title="Container Image Update" />
-
- <Section style={{ marginTop: '24px' }}>
- <Text style={mainTextStyle}>
- {hasUpdate
- ? `A new update has been detected for your container image.`
- : `Your container image has been checked for updates.`}
- </Text>
- </Section>
-
- <Section style={infoSectionStyle}>
- <Row style={infoRowStyle}>
- <Column style={labelColumnStyle}>
- <Text style={labelStyle}>Environment:</Text>
- </Column>
- <Column>
- <Text style={valueStyle}>{environment}</Text>
- </Column>
- </Row>
-
- <Hr style={dividerStyle} />
-
- <Row style={infoRowStyle}>
- <Column style={labelColumnStyle}>
- <Text style={labelStyle}>Image:</Text>
- </Column>
- <Column>
- <Text style={valueStyle}>{imageRef}</Text>
- </Column>
- </Row>
-
- <Hr style={dividerStyle} />
-
- <Row style={infoRowStyle}>
- <Column style={labelColumnStyle}>
- <Text style={labelStyle}>Status:</Text>
- </Column>
- <Column>
- <Text style={hasUpdate ? statusUpdateStyle : statusNoUpdateStyle}>
- {hasUpdate ? 'βœ“ Update Available' : 'Up to Date'}
- </Text>
- </Column>
- </Row>
-
- {updateType && (
- <>
- <Hr style={dividerStyle} />
- <Row style={infoRowStyle}>
- <Column style={labelColumnStyle}>
- <Text style={labelStyle}>Update Type:</Text>
- </Column>
- <Column>
- <Text style={valueStyle}>{updateType}</Text>
- </Column>
- </Row>
- </>
- )}
-
- {currentDigest && (
- <>
- <Hr style={dividerStyle} />
- <Row style={infoRowStyle}>
- <Column style={labelColumnStyle}>
- <Text style={labelStyle}>Current Digest:</Text>
- </Column>
- <Column>
- <Text style={digestStyle}>{truncateDigest(currentDigest)}</Text>
- </Column>
- </Row>
- </>
- )}
-
- {latestDigest && (
- <>
- <Hr style={dividerStyle} />
- <Row style={infoRowStyle}>
- <Column style={labelColumnStyle}>
- <Text style={labelStyle}>Latest Digest:</Text>
- </Column>
- <Column>
- <Text style={digestStyle}>{truncateDigest(latestDigest)}</Text>
- </Column>
- </Row>
- </>
- )}
-
- {checkTime && (
- <>
- <Hr style={dividerStyle} />
- <Row style={infoRowStyle}>
- <Column style={labelColumnStyle}>
- <Text style={labelStyle}>Checked At:</Text>
- </Column>
- <Column>
- <Text style={valueStyle}>{checkTime}</Text>
- </Column>
- </Row>
- </>
- )}
- </Section>
-
- <Section style={{ marginTop: '24px' }}>
- <Text style={footerStyle}>
- This is an automated notification from Arcane.
- {hasUpdate && ' Please review and update your container when ready.'}
- </Text>
- </Section>
- </BaseTemplate>
- );
-};
-
-export default ImageUpdateEmail;
-
-const mainTextStyle = {
- fontSize: '16px',
- lineHeight: '24px',
- color: colors.textBody,
- margin: '0 0 16px 0'
-};
-
-const infoSectionStyle = {
- marginTop: '20px',
- backgroundColor: colors.panel,
- border: `1px solid ${colors.panelBorder}`,
- padding: '20px',
- borderRadius: radii.panel
-};
-
-const infoRowStyle = {
- marginBottom: '0'
-};
-
-const labelColumnStyle = {
- width: '140px',
- verticalAlign: 'top' as const,
- paddingRight: '12px'
-};
-
-const labelStyle = {
- fontSize: '14px',
- fontWeight: '600' as const,
- color: colors.textMuted,
- margin: '8px 0'
-};
-
-const valueStyle = {
- fontSize: '14px',
- color: colors.textValue,
- margin: '8px 0',
- wordBreak: 'break-word' as const
-};
-
-const digestStyle = {
- fontSize: '13px',
- color: colors.textValue,
- fontFamily: fonts.mono,
- margin: '8px 0'
-};
-
-const statusUpdateStyle = {
- fontSize: '14px',
- fontWeight: '600' as const,
- color: colors.success,
- margin: '8px 0'
-};
-
-const statusNoUpdateStyle = {
- fontSize: '14px',
- fontWeight: '600' as const,
- color: colors.textMuted,
- margin: '8px 0'
-};
-
-const dividerStyle = {
- borderColor: colors.divider,
- margin: '4px 0'
-};
-
-const footerStyle = {
- fontSize: '13px',
- lineHeight: '20px',
- color: colors.textMuted,
- margin: '0'
-};
-
-ImageUpdateEmail.TemplateProps = {
- ...sharedTemplateProps,
- imageRef: '{{.ImageRef}}',
- hasUpdate: '{{.HasUpdate}}',
- updateType: '{{.UpdateType}}',
- currentDigest: '{{.CurrentDigest}}',
- latestDigest: '{{.LatestDigest}}',
- checkTime: '{{.CheckTime}}'
-};
-
-ImageUpdateEmail.PreviewProps = {
- ...sharedPreviewProps,
- imageRef: 'nginx:latest',
- hasUpdate: true,
- updateType: 'digest',
- currentDigest: 'sha256:abc123def456789012345678901234567890',
- latestDigest: 'sha256:xyz789ghi012345678901234567890123456',
- checkTime: '2025-10-18 15:30:00 UTC'
-};
diff --git a/email-templates/emails/prune-report.tsx b/email-templates/emails/prune-report.tsx
deleted file mode 100644
index 72ddc00c5..000000000
--- a/email-templates/emails/prune-report.tsx
+++ /dev/null
@@ -1,207 +0,0 @@
-import { Column, Hr, Row, Section, Text } from 'react-email';
-import { BaseTemplate } from '../components/base-template';
-import CardHeader from '../components/card-header';
-import { sharedPreviewProps, sharedTemplateProps } from '../props';
-import { colors, fonts, radii } from '../theme';
-
-interface PruneReportEmailProps {
- logoURL: string;
- appURL: string;
- environment: string;
- totalSpaceReclaimed: string;
- containerSpaceReclaimed: string;
- imageSpaceReclaimed: string;
- volumeSpaceReclaimed: string;
- buildCacheSpaceReclaimed: string;
- status: string;
- time: string;
-}
-
-export const PruneReportEmail = ({
- logoURL,
- appURL,
- environment,
- totalSpaceReclaimed,
- containerSpaceReclaimed,
- imageSpaceReclaimed,
- volumeSpaceReclaimed,
- buildCacheSpaceReclaimed,
- status,
- time
-}: PruneReportEmailProps) => {
- return (
- <BaseTemplate logoURL={logoURL} appURL={appURL}>
- <CardHeader title="System Prune Report" />
-
- <Section style={totalSectionStyle}>
- <Text style={totalLabelStyle}>Total Reclaimed</Text>
- <Text style={totalValueStyle}>{totalSpaceReclaimed}</Text>
- </Section>
-
- <Section style={breakdownSectionStyle}>
- <Row style={infoRowStyle}>
- <Column style={labelColumnStyle}>
- <Text style={labelStyle}>Environment:</Text>
- </Column>
- <Column>
- <Text style={valueStyle}>{environment}</Text>
- </Column>
- </Row>
-
- <Hr style={dividerStyle} />
-
- <Row style={infoRowStyle}>
- <Column style={labelColumnStyle}>
- <Text style={labelStyle}>Status:</Text>
- </Column>
- <Column>
- <Text style={valueStyle}>{status}</Text>
- </Column>
- </Row>
-
- <Hr style={dividerStyle} />
-
- <Row style={infoRowStyle}>
- <Column style={labelColumnStyle}>
- <Text style={labelStyle}>Containers:</Text>
- </Column>
- <Column>
- <Text style={valueStyle}>{containerSpaceReclaimed}</Text>
- </Column>
- </Row>
-
- <Hr style={dividerStyle} />
-
- <Row style={infoRowStyle}>
- <Column style={labelColumnStyle}>
- <Text style={labelStyle}>Images:</Text>
- </Column>
- <Column>
- <Text style={valueStyle}>{imageSpaceReclaimed}</Text>
- </Column>
- </Row>
-
- <Hr style={dividerStyle} />
-
- <Row style={infoRowStyle}>
- <Column style={labelColumnStyle}>
- <Text style={labelStyle}>Volumes:</Text>
- </Column>
- <Column>
- <Text style={valueStyle}>{volumeSpaceReclaimed}</Text>
- </Column>
- </Row>
-
- <Hr style={dividerStyle} />
-
- <Row style={infoRowStyle}>
- <Column style={labelColumnStyle}>
- <Text style={labelStyle}>Build Cache:</Text>
- </Column>
- <Column>
- <Text style={valueStyle}>{buildCacheSpaceReclaimed}</Text>
- </Column>
- </Row>
- </Section>
-
- <Section style={{ marginTop: '20px' }}>
- <Text style={footerStyle}>Generated by Arcane at {time}</Text>
- </Section>
- </BaseTemplate>
- );
-};
-
-export default PruneReportEmail;
-
-const totalSectionStyle = {
- marginTop: '20px',
- textAlign: 'center' as const,
- backgroundColor: colors.panel,
- border: `1px solid ${colors.panelBorder}`,
- padding: '20px',
- borderRadius: radii.panel
-};
-
-const totalLabelStyle = {
- fontSize: '12px',
- lineHeight: '18px',
- letterSpacing: '0.08em',
- textTransform: 'uppercase' as const,
- color: colors.textMuted,
- margin: '0'
-};
-
-const totalValueStyle = {
- fontSize: '30px',
- lineHeight: '36px',
- fontWeight: '700' as const,
- color: colors.success,
- margin: '8px 0 0 0'
-};
-
-const breakdownSectionStyle = {
- marginTop: '18px',
- backgroundColor: colors.panel,
- border: `1px solid ${colors.panelBorder}`,
- padding: '20px',
- borderRadius: radii.panel
-};
-
-const infoRowStyle = {
- marginBottom: '0'
-};
-
-const labelColumnStyle = {
- width: '180px',
- verticalAlign: 'top' as const,
- paddingRight: '12px'
-};
-
-const labelStyle = {
- fontSize: '14px',
- fontWeight: '600' as const,
- color: colors.textMuted,
- margin: '8px 0'
-};
-
-const valueStyle = {
- fontSize: '14px',
- color: colors.textValue,
- margin: '8px 0',
- wordBreak: 'break-word' as const,
- fontFamily: fonts.mono
-};
-
-const dividerStyle = {
- borderColor: colors.divider,
- margin: '4px 0'
-};
-
-const footerStyle = {
- fontSize: '12px',
- lineHeight: '18px',
- color: colors.textMuted,
- margin: '0'
-};
-
-PruneReportEmail.TemplateProps = {
- ...sharedTemplateProps,
- totalSpaceReclaimed: '{{.TotalSpaceReclaimed}}',
- containerSpaceReclaimed: '{{.ContainerSpaceReclaimed}}',
- imageSpaceReclaimed: '{{.ImageSpaceReclaimed}}',
- volumeSpaceReclaimed: '{{.VolumeSpaceReclaimed}}',
- buildCacheSpaceReclaimed: '{{.BuildCacheSpaceReclaimed}}',
- status: '{{.Status}}',
- time: '{{.Time}}'
-};
-
-PruneReportEmail.PreviewProps = {
- ...sharedPreviewProps,
- totalSpaceReclaimed: '3.4 GB',
- containerSpaceReclaimed: '480 MB',
- imageSpaceReclaimed: '2.1 GB',
- volumeSpaceReclaimed: '612 MB',
- buildCacheSpaceReclaimed: '228 MB',
- status: 'Completed',
- time: 'Tue, 10 Feb 2026 19:30:00 UTC'
-};
diff --git a/email-templates/emails/test.tsx b/email-templates/emails/test.tsx
deleted file mode 100644
index 0ece0f4c3..000000000
--- a/email-templates/emails/test.tsx
+++ /dev/null
@@ -1,79 +0,0 @@
-import { Column, Row, Section, Text } from 'react-email';
-import { BaseTemplate } from '../components/base-template';
-import CardHeader from '../components/card-header';
-import { sharedPreviewProps, sharedTemplateProps } from '../props';
-import { colors, radii } from '../theme';
-
-interface TestEmailProps {
- logoURL: string;
- appURL: string;
- environment: string;
-}
-
-export const TestEmail = ({ logoURL, appURL, environment }: TestEmailProps) => (
- <BaseTemplate logoURL={logoURL} appURL={appURL}>
- <CardHeader title="Test Email" />
- <Text style={textStyle}>Your email setup is working correctly!</Text>
-
- <Section style={infoSectionStyle}>
- <Row style={infoRowStyle}>
- <Column style={labelColumnStyle}>
- <Text style={labelStyle}>Environment:</Text>
- </Column>
- <Column>
- <Text style={valueStyle}>{environment}</Text>
- </Column>
- </Row>
- </Section>
- </BaseTemplate>
-);
-
-export default TestEmail;
-
-const textStyle = {
- fontSize: '16px',
- lineHeight: '24px',
- color: colors.textBody,
- marginTop: '16px',
- marginBottom: '0'
-};
-
-const infoSectionStyle = {
- marginTop: '20px',
- backgroundColor: colors.panel,
- border: `1px solid ${colors.panelBorder}`,
- padding: '20px',
- borderRadius: radii.panel
-};
-
-const infoRowStyle = {
- marginBottom: '0'
-};
-
-const labelColumnStyle = {
- width: '140px',
- verticalAlign: 'top' as const,
- paddingRight: '12px'
-};
-
-const labelStyle = {
- fontSize: '14px',
- fontWeight: '600' as const,
- color: colors.textMuted,
- margin: '8px 0'
-};
-
-const valueStyle = {
- fontSize: '14px',
- color: colors.textValue,
- margin: '8px 0',
- wordBreak: 'break-word' as const
-};
-
-TestEmail.TemplateProps = {
- ...sharedTemplateProps
-};
-
-TestEmail.PreviewProps = {
- ...sharedPreviewProps
-};
diff --git a/email-templates/emails/vulnerability-summary.tsx b/email-templates/emails/vulnerability-summary.tsx
deleted file mode 100644
index 195209f5c..000000000
--- a/email-templates/emails/vulnerability-summary.tsx
+++ /dev/null
@@ -1,177 +0,0 @@
-import { Column, Hr, Row, Section, Text } from 'react-email';
-import { BaseTemplate } from '../components/base-template';
-import CardHeader from '../components/card-header';
-import { sharedPreviewProps, sharedTemplateProps } from '../props';
-import { colors, radii } from '../theme';
-
-interface VulnerabilitySummaryEmailProps {
- logoURL: string;
- appURL: string;
- environment: string;
- summaryLabel: string;
- overview: string;
- fixableCount: string;
- severityBreakdown: string;
- sampleCVEs?: string;
-}
-
-export const VulnerabilitySummaryEmail = ({
- logoURL,
- appURL,
- environment,
- summaryLabel,
- overview,
- fixableCount,
- severityBreakdown,
- sampleCVEs
-}: VulnerabilitySummaryEmailProps) => {
- return (
- <BaseTemplate logoURL={logoURL} appURL={appURL}>
- <CardHeader title="Daily Vulnerability Summary" />
-
- <Section style={{ marginTop: '16px' }}>
- <Text style={subTitleStyle}>{summaryLabel}</Text>
- </Section>
-
- <Section style={infoSectionStyle}>
- <Row style={infoRowStyle}>
- <Column style={labelColumnStyle}>
- <Text style={labelStyle}>Environment:</Text>
- </Column>
- <Column>
- <Text style={valueStyle}>{environment}</Text>
- </Column>
- </Row>
-
- <Hr style={dividerStyle} />
-
- <Row style={infoRowStyle}>
- <Column style={labelColumnStyle}>
- <Text style={labelStyle}>Overview:</Text>
- </Column>
- <Column>
- <Text style={valueStyle}>{overview}</Text>
- </Column>
- </Row>
-
- <Hr style={dividerStyle} />
-
- <Row style={infoRowStyle}>
- <Column style={labelColumnStyle}>
- <Text style={labelStyle}>Fixable vulnerabilities:</Text>
- </Column>
- <Column>
- <Text style={fixedVersionStyle}>{fixableCount}</Text>
- </Column>
- </Row>
-
- <Hr style={dividerStyle} />
-
- <Row style={infoRowStyle}>
- <Column style={labelColumnStyle}>
- <Text style={labelStyle}>Severity breakdown:</Text>
- </Column>
- <Column>
- <Text style={valueStyle}>{severityBreakdown}</Text>
- </Column>
- </Row>
-
- <Hr style={dividerStyle} />
-
- <Row style={infoRowStyle}>
- <Column style={labelColumnStyle}>
- <Text style={labelStyle}>Sample CVEs:</Text>
- </Column>
- <Column>
- <Text style={valueStyle}>{sampleCVEs}</Text>
- </Column>
- </Row>
- </Section>
-
- <Section style={{ marginTop: '24px' }}>
- <Text style={footerStyle}>
- Open Arcane to review full vulnerability details and remediation actions.
- </Text>
- </Section>
- </BaseTemplate>
- );
-};
-
-export default VulnerabilitySummaryEmail;
-
-const subTitleStyle = {
- fontSize: '14px',
- lineHeight: '22px',
- color: colors.textMuted,
- margin: '0'
-};
-
-const infoSectionStyle = {
- marginTop: '20px',
- backgroundColor: colors.panel,
- border: `1px solid ${colors.panelBorder}`,
- padding: '20px',
- borderRadius: radii.panel
-};
-
-const infoRowStyle = {
- marginBottom: '0'
-};
-
-const labelColumnStyle = {
- width: '170px',
- verticalAlign: 'top' as const,
- paddingRight: '12px'
-};
-
-const labelStyle = {
- fontSize: '14px',
- fontWeight: '600' as const,
- color: colors.textMuted,
- margin: '8px 0'
-};
-
-const valueStyle = {
- fontSize: '14px',
- color: colors.textValue,
- margin: '8px 0',
- wordBreak: 'break-word' as const
-};
-
-const fixedVersionStyle = {
- fontSize: '14px',
- fontWeight: '600' as const,
- color: colors.success,
- margin: '8px 0',
- wordBreak: 'break-word' as const
-};
-
-const dividerStyle = {
- borderColor: colors.divider,
- margin: '4px 0'
-};
-
-const footerStyle = {
- fontSize: '13px',
- lineHeight: '20px',
- color: colors.textMuted,
- margin: '0'
-};
-
-VulnerabilitySummaryEmail.TemplateProps = {
- ...sharedTemplateProps,
- summaryLabel: '{{.SummaryLabel}}',
- overview: '{{.Overview}}',
- fixableCount: '{{.FixableCount}}',
- severityBreakdown: '{{.SeverityBreakdown}}',
- sampleCVEs: '{{.SampleCVEs}}'
-};
-
-VulnerabilitySummaryEmail.PreviewProps = {
- ...sharedPreviewProps,
- summaryLabel: 'Daily Summary - 2026-02-10',
- overview: '12 image(s) scanned, 4 with fixable vulnerabilities',
- fixableCount: '19 fixable vulnerability record(s)',
- severityBreakdown: 'Critical:2 High:9 Medium:6 Low:2 Unknown:0',
- sampleCVEs: 'CVE-2025-1234, CVE-2025-5678, CVE-2026-0001'
-};
diff --git a/email-templates/package.json b/email-templates/package.json
deleted file mode 100644
index e18bcc2db..000000000
--- a/email-templates/package.json
+++ /dev/null
@@ -1,29 +0,0 @@
-{
- "name": "arcane-email-templates",
- "version": "1.0.0",
- "scripts": {
- "preinstall": "npx only-allow pnpm",
- "build": "tsx build.ts",
- "build:watch": "tsx watch build.ts",
- "check": "tsc --noEmit",
- "dev": "email dev --port 3030",
- "export": "email export",
- "format": "vp fmt",
- "format:check": "vp fmt --check"
- },
- "dependencies": {
- "react": "^19.3.1",
- "react-dom": "^19.3.1",
- "react-email": "6.11.3",
- "tailwind-merge": "^3.7.0"
- },
- "devDependencies": {
- "@types/node": "^26.6.5",
- "@types/react": "^19.3.0",
- "@types/react-dom": "^19.3.0",
- "tsx": "^4.23.15",
- "typescript": "^7.0.2",
- "vite": "catalog:",
- "vite-plus": "catalog:"
- }
-}
diff --git a/email-templates/props.ts b/email-templates/props.ts
deleted file mode 100644
index f63f4558b..000000000
--- a/email-templates/props.ts
+++ /dev/null
@@ -1,12 +0,0 @@
-export const sharedPreviewProps = {
- logoURL:
- 'https://raw.githubusercontent.com/ofkm/arcane/main/backend/resources/images/logo-full.svg',
- appURL: 'http://localhost:3552',
- environment: 'Homelab Production'
-};
-
-export const sharedTemplateProps = {
- logoURL: '{{.LogoURL}}',
- appURL: '{{.AppURL}}',
- environment: '{{.Environment}}'
-};
diff --git a/email-templates/theme.ts b/email-templates/theme.ts
deleted file mode 100644
index 0c71c9fa0..000000000
--- a/email-templates/theme.ts
+++ /dev/null
@@ -1,40 +0,0 @@
-/**
- * Shared design tokens for the email templates.
- *
- * Single source of truth for the palette so retheming is a one-file change.
- * Values are plain hex (no oklch / CSS variables) because email clients don't
- * support those. Colors mirror Arcane's default *dark* app theme β€” see the
- * published previews in frontend/src/lib/utils/theme.ts and frontend/src/routes/layout.css.
- *
- * Only theming lives here; layout stays table-based in the components/emails.
- */
-
-export const colors = {
- bg: '#24262b', // app --background (dark) β€” email body
- card: '#31343a', // app --card (dark) β€” main card
- cardBorder: '#3a3e45', // subtle card edge
- panel: '#2b2e34', // flat inset panels (info / total / breakdown)
- panelBorder: '#3a3e45',
- divider: '#3a3e45',
- textPrimary: '#f5f7fa', // app --foreground (dark) β€” headings
- textBody: '#c7cbd1', // body copy
- textValue: '#e6e8ec', // info values
- textMuted: '#9298a3', // labels / footer / muted
- accent: '#a855f7', // app --primary (dark) β€” links, CTA, accents
- success: '#34d399', // reserved for positive metrics only
- warningBg: '#fbbf24',
- warningText: '#3f2d02',
- buttonText: '#ffffff'
-};
-
-export const fonts = {
- sans: "'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif",
- mono: "'Geist Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, 'Courier New', monospace"
-};
-
-export const radii = {
- card: '14px',
- panel: '10px',
- badge: '8px',
- button: '10px'
-};
diff --git a/email-templates/tsconfig.json b/email-templates/tsconfig.json
deleted file mode 100644
index 1217aa058..000000000
--- a/email-templates/tsconfig.json
+++ /dev/null
@@ -1,19 +0,0 @@
-{
- "compilerOptions": {
- "target": "ES2020",
- "module": "NodeNext",
- "moduleResolution": "NodeNext",
- "strict": true,
- "esModuleInterop": true,
- "skipLibCheck": true,
- "forceConsistentCasingInFileNames": true,
- "allowSyntheticDefaultImports": true,
- "resolveJsonModule": true,
- "isolatedModules": true,
- "noEmit": true,
- "jsx": "react-jsx",
- "types": ["node"]
- },
- "include": ["**/*.ts", "**/*.tsx"],
- "exclude": ["node_modules", "dist"]
-}
diff --git a/email-templates/vite.config.ts b/email-templates/vite.config.ts
deleted file mode 100644
index 2e0f1d497..000000000
--- a/email-templates/vite.config.ts
+++ /dev/null
@@ -1,4 +0,0 @@
-import { defineConfig } from 'vite-plus';
-
-// fmt/lint config lives in the root vite.config.ts (Vite+ resolves them from the workspace root).
-export default defineConfig({});
diff --git a/just/format.just b/just/format.just
index ba24f10a1..5e28b5af4 100644
--- a/just/format.just
+++ b/just/format.just
@@ -23,10 +23,6 @@ frontend check='':
tests check='':
vp fmt {{ check }} tests
-[arg('check', long, value='--check')]
-email check='':
- vp fmt {{ check }} email-templates
-
# Go modules with the formatters configured in .golangci.yml
[arg('check', long, value='--check')]
go check='':
diff --git a/just/lint.just b/just/lint.just
index 5c81fa69f..5fa761c56 100644
--- a/just/lint.just
+++ b/just/lint.just
@@ -9,8 +9,8 @@ list:
all: js go proto
-# Frontend, Playwright tests, and email templates
-js: frontend tests email
+# Frontend and Playwright tests
+js: frontend tests
# Type check and lint the frontend
frontend:
@@ -21,10 +21,6 @@ frontend:
tests:
vp -C tests run check
-# Type check email templates
-email:
- vp -C email-templates run check
-
# Backend, CLI, and types modules
go: backend cli types
diff --git a/package.json b/package.json
index dc09bd169..51bdb2421 100644
--- a/package.json
+++ b/package.json
@@ -3,8 +3,7 @@
"private": true,
"workspaces": [
"frontend",
- "tests",
- "email-templates"
+ "tests"
],
"scripts": {
"preinstall": "npx only-allow pnpm"
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 64941ef64..6b67b081d 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -213,43 +213,6 @@ importers:
specifier: 'catalog:'
- email-templates:
- dependencies:
- react:
- specifier: ^19.3.1
- version: 19.3.1
- react-dom:
- specifier: ^19.3.1
- version: 19.3.1([email protected])
- react-email:
- specifier: 6.11.3
- tailwind-merge:
- specifier: ^3.7.0
- version: 3.7.0
- devDependencies:
- '@types/node':
- specifier: ^26.6.5
- version: 26.6.5
- '@types/react':
- specifier: ^19.3.0
- version: 19.3.0
- '@types/react-dom':
- specifier: ^19.3.0
- version: 19.3.0(@types/[email protected])
- tsx:
- specifier: ^4.23.15
- version: 4.23.15
- typescript:
- specifier: ^7.0.2
- version: 7.0.2
- vite:
- specifier: 'catalog:'
- vite-plus:
- specifier: 'catalog:'
-
frontend:
dependencies:
'@codemirror/autocomplete':
@@ -565,48 +528,14 @@ packages:
resolution: {integrity: sha512-Aup7aUOfpbAUg2ROOJN6Iw5f9DMBlzu0mIkm/malLQFN/YQgO48wCj0Kxa3sEHJvPVFg7siR+qRInwXd2qhQKw==}
engines: {node: '>=6.9.0'}
- '@babel/[email protected]':
- resolution: {integrity: sha512-gZbepsdh3WDtgZKWL+vTPh71LSBrm/Y4/QDZBVCcYfmeTEEuoOYwlSy+G1StfJg+/Zy550u/3TATbm7qDbbMtg==}
- engines: {node: '>=6.9.0'}
-
- '@babel/[email protected]':
- resolution: {integrity: sha512-3nQVUAtvkKH9zahfWgw96Jc/uFOmjACE1kQz82E2lqWmHBgjzbNlsC22nuQTfahmWeQtTq5nQ/4Nnd2A1wj4zA==}
- engines: {node: '>=6.9.0'}
-
- '@babel/[email protected]':
- resolution: {integrity: sha512-Pb5ijPrZ89GDH8223L4UP8i6QApWxs04RbPQJTeWDV0/keR2E36MeKnyr6LYmUUvqRRI+Iv87SuF1W6ErINzYw==}
- engines: {node: '>=6.9.0'}
-
resolution: {integrity: sha512-qehxGkRj55h/ff8EMaJ+cYhyaKlHIxqYDn682wQD7RNp9UujOQsHog2uS0r2vzr4pW+sXf90NeeayjcNaX3fFg==}
engines: {node: '>=6.9.0'}
- '@babel/[email protected]':
- resolution: {integrity: sha512-4GgRzy/+fsBa72/RZVJmGKPmZu9Byn8o4MoLpmNe1m8ZfYnz5emHLQz3U4gLud6Zwl0RZIcgiLD7Uq7ySFuDLA==}
- engines: {node: '>=6.0.0'}
- hasBin: true
-
- '@babel/[email protected]':
- resolution: {integrity: sha512-CjXrNHTnvqBVqHgdBysY3vk2T8tpJHb5/RMeHJBTyVa9xgugCB0CJTx/3oO8RV2QRQP391RWpB7D6hLjm8V9uA==}
- engines: {node: '>=6.0.0'}
- hasBin: true
-
resolution: {integrity: sha512-NpugTzbKgGrNe45Ui32cN8vCFFMxVtP/9rtfwv0nP5FRDAjvYBxJcLVpYA9mr1jxP6cnIT7x9LUzuDTbWYYNRA==}
engines: {node: '>=6.9.0'}
- '@babel/[email protected]':
- resolution: {integrity: sha512-puq+Gf35oI24FeN11LkoUQFqv9uwNeWpxXZi/Ji3rRIoKAzKnxRaZ+Gkj0vKS9ZCiTESfng1N9LyOyXvo+m+Gg==}
- engines: {node: '>=6.9.0'}
-
- '@babel/[email protected]':
- resolution: {integrity: sha512-4HPiQr0X7+waHfyXPZpWPfWL/J7dcN1mx9gL6WdQVMbPnF3+ZhSMs8tCxN7oHddJE9fhNE7+lxdnlyemKfJRuA==}
- engines: {node: '>=6.9.0'}
-
- '@babel/[email protected]':
- resolution: {integrity: sha512-Vj1jF3cPfxg7OAfoI7QnVKLoILlm2JF9pnVHrX8qx7AHMiYWT+NDAA7jChlNgRS4WTLc/fD1lXLmPixluj+3Gg==}
- engines: {node: '>=6.9.0'}
-
'@blazediff/[email protected]':
resolution: {integrity: sha512-AOQff0zgR7cGsZL+4E7hVkmujoPUpm0J9xzWGWZj5wCjd3gmxESXAPfKyuzs93VdpQNFhHlBhfOjrcZ+XTERtQ==}
@@ -1860,19 +1789,9 @@ packages:
'@poppinss/[email protected]':
resolution: {integrity: sha512-qUYnzl0m9HJTWsXtr8Xo7CwDx6wcjrvo14bOVbIMIlKJCzKrm3LX55dRTDr1/x4PpSvKVgmxvC6Ly2YiqXKOvQ==}
- '@react-email/[email protected]':
- resolution: {integrity: sha512-DvVx4k6XjJ9cYBigd37+7SK2E89emUH32Lcn6COsMickQchXdvXa+ZA04BF7475Kg+8ikaIpus+zQYUwVVyjBg==}
- engines: {node: '>=20.0.0'}
- peerDependencies:
- react: ^18.0 || ^19.0 || ^19.0.0-rc
- react-dom: ^18.0 || ^19.0 || ^19.0.0-rc
-
'@rolldown/[email protected]':
resolution: {integrity: sha512-2j9bGt5Jh8hj+vPtgzPtl72j0yRxHAyumoo6TNfAjsLB04UtpSvPbPcDcBMxz7n+9CYB0c1GxQFxYRg2jimqGw==}
- '@selderee/[email protected]':
- resolution: {integrity: sha512-P33hHGdldxGabLFjPPpaTxVolMrzrcegejx+0GxjrIb9Zv48D8yAIA/QTDR2dFl7Uz7urX8aX6+5bCZslr+gWQ==}
-
'@shadcn/[email protected]':
resolution: {integrity: sha512-sDgmh/lb4yiPJMJZe5/jE6Vq5mgBzaIvKcdQ98faZk4c99WKTqASEhUqR6XCp7DDc29LwqTRIsula7kfhhDQnQ==}
engines: {node: '>=20.19'}
@@ -1891,9 +1810,6 @@ packages:
'@sinclair/[email protected]':
resolution: {integrity: sha512-MGsM7bVmHg3sUKCphlu3SGQ+T+5JTbygZWYArfKQCW5anJeACHeqLhcnf+R7XlCWZ+QR3C8JTBx3kCKJTN69ow==}
- '@socket.io/[email protected]':
- resolution: {integrity: sha512-9BCxFwvbGg/RsZK9tjXd8s4UcwR0MWeFQ1XEKIQVVvAGJyINdrqKMcTRyLoK8Rse1GjzLV9cwjWV1olXRWEXVA==}
-
'@solid-primitives/[email protected]':
resolution: {integrity: sha512-5I0YJcTVYIWoMmgBSROBZGcz+ymhew/pGTg2dHW74BUjFKsV8Li4bOZYl0YAGP4mHw5o4UBd9/BEesqBci3wxw==}
peerDependencies:
@@ -2162,9 +2078,6 @@ packages:
resolution: {integrity: sha512-Mw558oeA9fFbv65/y4mHtXDs9bPnFMZAL/jxdPFUpOHHIXX91mcgEHbS5Lahr+pwZFR8A7GQleRWeI6cGFC2UA==}
- '@types/[email protected]':
- resolution: {integrity: sha512-mFNylyeyqN93lfe/9CSxOGREz8cpzAhH+E93xJ4xWQf62V8sQ/24reV2nyzUWM6H6Xji+GGHpkbLe7pVoUEskg==}
-
resolution: {integrity: sha512-iO90scth9WAbmgv7ogoq57O9YpKmFBbmoEoCHDB2xMBY0+/KVrqAaCDyCE16dUspeOvIxFFRI+0sEtqDqy2b4A==}
@@ -2198,23 +2111,12 @@ packages:
resolution: {integrity: sha512-uMzsv9stDdofIZBx4UGh4Z9ZgXnGC9seRDscilBcTHAeOFk67MZg/k9bWVfO+bk4qZmG+l52hRnLwUiH2LnJTg==}
- '@types/[email protected]':
- resolution: {integrity: sha512-ZI7bU42mZXXKHn/qNLEw2IrbiINU7X5+vfgdixBHkCNpYWXjKgfQ/P+uyGb5CjOLB9UcnTeg3rylQtV2hym44Q==}
- peerDependencies:
- '@types/react': ^19.3.0
-
- '@types/[email protected]':
- resolution: {integrity: sha512-N0rFCuH9YoxG9/m61l9MfpJKfmLOVU0em7ipIz6TRgSSkvReLB9vL85GB+yr8Bs5leqpvg96JSwF4ZS1s4viQg==}
-
resolution: {integrity: sha512-ScaPdn1dQczgbl0QFTeTOmVHFULt394XJgOQNoyVhZ6r2vLnMLJfBPd53SB52T/3G36VI1/g2MZaX0cwDuXsfw==}
resolution: {integrity: sha512-T8L6i7wCuyoK8A/ZeLYt1+q0ty3Zb9+qbSSvrIVitzT3YjZqkTZ40IbRsPanlB4h1QB3JVL1SYCdR6ngtFYcuA==}
- '@types/[email protected]':
- resolution: {integrity: sha512-67MQl+fpWKVTT1NYdnmo3U4sc/xPo/zQBncVnI74qmQa0z/b+1g6iYqNmGCPbxO+zz2aklb08a0oHfegiVd0/w==}
-
'@typeschema/[email protected]':
resolution: {integrity: sha512-OJSFeZDIQ8EK1HTljKLT5CItM2wsbgczLN8tMEfz3I1Lmhc5TBfkZ0eikFzUC16tI3d1Nag7um6TfCgp2I2Bww==}
peerDependencies:
@@ -2654,10 +2556,6 @@ packages:
'@yuku-toolchain/[email protected]':
resolution: {integrity: sha512-tFkNbsP4WXX9UMUC5syJGdK9dPMLK0PPaIuXCcCYH75sZ8MrebfBZ2XvCILRTw8AgLivSSCfDa4R67iYBDa4Kg==}
- resolution: {integrity: sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==}
- engines: {node: '>= 0.6'}
-
resolution: {integrity: sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==}
peerDependencies:
@@ -2668,9 +2566,6 @@ packages:
engines: {node: '>=0.4.0'}
hasBin: true
- resolution: {integrity: sha512-8iUql50EUR+uUcdRQ3HDqa6EVyo3docL8g5WJ3FNcWmu62IbkGUue/pEyLBW8VGKKucTPgqeks4fIU1DA4yowQ==}
-
resolution: {integrity: sha512-fgFx7Hfoq60ytK2c7DhnF8jIvzYgOMxfugjLOSMHjLIPgenqa7S7oaagATUq99mV6IYvN2tRmC0wnTYX6iPbMw==}
@@ -2710,9 +2605,6 @@ packages:
resolution: {integrity: sha512-Izi8RQcffqCeNVgFigKli1ssklIbpHnCYc6AknXGYoB6grJqyeby7jv12JUQgmTAnIDnbck1uxksT4dzN3PWBA==}
engines: {node: '>=12'}
- resolution: {integrity: sha512-P4w9o2dqARji6P7MHprklbfiArZAWvo07yW7qs3pdljb3BWr12FIB7W+p0zJiuiVsUpRO0iZn1kFFcpPegg0tQ==}
-
resolution: {integrity: sha512-9WTZxEjsZ7b13TH8JPmbV2z8CHbl80/2hm3XPEG4JgNdQLK81IBRXmSxHfMAOkSqQeRxT/0dwNDz2GOm3zzpcQ==}
engines: {node: '>=4'}
@@ -2758,13 +2650,6 @@ packages:
resolution: {integrity: sha512-Qgzu8kfBvo+cA4962jnP1KkS6Dop5NS6g7R5LFYJr4b8Ub94PPQXUksCw9PvXoeXPRRddRNC5C1JQUR2SMGtnA==}
engines: {node: '>= 14.16.0'}
- resolution: {integrity: sha512-TQMmc3w+5AxjpL8iIiwebF73dRDF4fBIieAqGn9RGCWaEVwQ6Fb2cGe31Yns0RRIzii5goJ1Y7xbMwo1TxMplw==}
- engines: {node: '>= 20.19.0'}
-
- resolution: {integrity: sha512-+6vJA3L98yv+IdfKGZHBNiGW5KHn22e/JwID0Strsz8h4S/csAu/OuICwxrg44k5MRiZHWIo8XXuJgQTriRP4w==}
-
resolution: {integrity: sha512-lmNyBzi6iYiqyrExTctfmjd8tInx+dHu9PBomTfH5RXS53c27JMFJgzNv5TyAnm3PgGf+MLy0+Ws41/HlVxdKQ==}
@@ -2792,10 +2677,6 @@ packages:
resolution: {integrity: sha512-yPVavfyCcRhmorC7rWlkHn15b4wDVgVmBA7kV4QVBsF7kv/9TKJAbAXVTxvTnwP8HHKjRCJDClKbciiYS7p0DQ==}
engines: {node: '>=16'}
- resolution: {integrity: sha512-/rFeCpNJQbhSZjGVwO9RFV3xPqbnERS8MmIQzCtD/zl6gpJuV/bMLuN92oG3F7d8oDEHHRrujSXNUr8fpjntKw==}
- engines: {node: '>=18'}
-
resolution: {integrity: sha512-H+y0Jo/T1RZ9qPP4Eh1pkcQcLRglraJaSLoyOtHxu6AapkjWVCy2Sit1QQ4x3Dng8qDlSsZEet7g5Pq06MvTgw==}
engines: {node: '>=20'}
@@ -2804,10 +2685,6 @@ packages:
resolution: {integrity: sha512-R2rze/hDX30uul4NZoIZ76ImSJLFxn/1/ZxtKC1L77y2X1k+yYu1joKbAtMA2Fg3hZrTOiw0I5mwVMo0cf250w==}
engines: {node: '>= 6'}
- resolution: {integrity: sha512-Uy5YN9KEu0WWDaZAVJ5FAmZoaJt9rdK6kH+utItPyGsCqCgaTKkrmZx3zoE0/3q6S3bcp3Ihkk+ZqPxWxFK5og==}
- engines: {node: '>=20'}
-
resolution: {integrity: sha512-RMtmw0iFkeR4YV+fUOSucriAQNb9g8zFR52MWCtl+cCZOFRNL6zeB395vPzFhEjjn4fMxXudmELnl/KF/WrK6w==}
@@ -2821,10 +2698,6 @@ packages:
resolution: {integrity: sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==}
- resolution: {integrity: sha512-yki5XnKuf750l50uGTllt6kKILY4nQ1eNIQatoXEByZ5dWgnKqbnqmTrBE5B4N7lrMJKQ2ytWMiTO2o0v6Ew/w==}
- engines: {node: '>= 0.6'}
-
resolution: {integrity: sha512-yuToqVvRrj6pfDXREyQAAv8SkAEk/8GS3jQRTiUMm66TVtBYmqQeoEjL2Lmq8Rpo6271vH76InTChTitEAm65w==}
engines: {node: '>=22'}
@@ -2833,10 +2706,6 @@ packages:
resolution: {integrity: sha512-vePst2VLTSqPglW7Q98VwFpGiGpOHTyXIo81MO5VyLecA5zMbZw/P/V1vmwD1jksa2iJpn/YkDrJ3XhTfzUyhQ==}
engines: {node: '>=18'}
- resolution: {integrity: sha512-tJtZBBHA6vjIAaF6EnIaq6laBBP9aq/Y3ouVJjEfoHbRBcHBAHYcMh/w8LDrk2PvIMMq8gmopa5D4V8RmbrxGw==}
- engines: {node: '>= 0.10'}
-
resolution: {integrity: sha512-aK6BbWfhf4U/wCcLHKPJl/xa6VkVstRaPywWtMKGwuOLc/wZTyQYuoxgvZnNsBvv7Kg3YTBQYYBCggcviQczuA==}
@@ -2901,14 +2770,6 @@ packages:
resolution: {integrity: sha512-QDTCU0M0MxR3hQfnlDJfwekQiaanm1ubOD231u73WBckQ/fsamwRLiE2GBz6D3a/xF1NgfiDLJjXBa1hYOYTtQ==}
- resolution: {integrity: sha512-rBMW+F2TXryBwB54Q0d8drNEI+TfoS9JpNTAoVpukbWEhjXQq4rySFYLaqXMFXwdv61Zb2OHtj5bviSoimqxRQ==}
- engines: {node: '>=18'}
-
- resolution: {integrity: sha512-Xks6RUDLZFdz8LIdR6q0MTH44k7FikOmnh5xkSjMig6ch45afc8sjTjRQf3P6ax8dMgcQrYO/AR2RGWURrruqw==}
- engines: {node: '>=18'}
-
resolution: {integrity: sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==}
engines: {node: '>=6.0'}
@@ -2946,26 +2807,9 @@ packages:
resolution: {integrity: sha512-X7BJ2yElsnOJ30pZF4uIIDfBEVgF4XEBxL9Bxhy6dnrm5hkzqmsWHGTiHqRiITNhMyFLyAiWndIJP7Z1NTteDg==}
- resolution: {integrity: sha512-wIkAryiqt/nV5EQKqQpo3SToSOV9J0DnbJqwK7Wv/Trc92zIAYZ4FlMu+JPFW1DfGFt81ZTCGgDEabffXeLyJg==}
-
- resolution: {integrity: sha512-OLETBj6w0OsagBwdXnPdN0cnMfF9opN69co+7ZrbfPGrdpPVNBUj02spi6B1N7wChLQiPn4CSH/zJvXw56gmHw==}
-
- resolution: {integrity: sha512-cgwlv/1iFQiFnU96XXgROh8xTeetsnJiDsTc7TYCLFd9+/WNkIqPTxiM/8pSd8VIrhXGTf1Ny1q1hquVqDJB5w==}
- engines: {node: '>= 4'}
-
resolution: {integrity: sha512-B/pSlYVHQ58kqISD/yDjuJ1yfzI34m1gF4lAod2bwSRhiN4K5Cl3H8Af7hqB2PmTL911tdEudnnXn5FnhRoz0w==}
- resolution: {integrity: sha512-6kZKyUajlDuqlHKVX1w7gyslj9MPIXzIFiz/rGu35uC1wMi+kMhQwGhl4lt9unC9Vb9INnY9Z3/ZA3+FhASLaw==}
-
- resolution: {integrity: sha512-BTJ9aZYL3vCfZlZOBLy9v8TUqWGQ0pzFnygKwFZt5udj6viBoFIBviKPUoZLDCPn1FoXffv6McQFDenrm5Krfw==}
- engines: {node: '>=20'}
-
resolution: {integrity: sha512-pQU7KTFcqHCjCbhMsiv2vFLPtCfKMspA3ChglcRfAMt/h7KlGoEtRL4eaM5Bq5chTgIysITM+fUAW87HQFKl3A==}
@@ -2982,14 +2826,6 @@ packages:
resolution: {integrity: sha512-SjWyZBHJPbqxHOzckOfo8lHisEaJWmwd23XppYFYVh10bU66/Pn5tkVkbkCMZVdbUE5eTCI2nD8OyIP4Z+uwkA==}
- resolution: {integrity: sha512-HqD3yTBfnBxIrbnM1DoD6Pcq8NECnh8d4As1Qgh0z5Gg3jRRIqijury0CL3ghu/edArpUYiYqQiDUQBIs4np3Q==}
- engines: {node: '>=10.0.0'}
-
- resolution: {integrity: sha512-z34mGpLoY/82ZbkX1LqGMIaf3wjVMPL6gVC681QDqnmzJ26synI8qAE32P+a7UazmpJZ8UGrFIeAavgRfXzYrg==}
- engines: {node: '>=10.2.0'}
-
resolution: {integrity: sha512-9vhedylFonb2YGogzUKX6+Ja72gOJbN1QHAqdrvqLwhdl/QWbKopzoUC9EbQNVsAns/bx/4uyqalrQAoy1IByw==}
engines: {node: '>=10.13.0'}
@@ -2997,18 +2833,10 @@ packages:
resolution: {integrity: sha512-p92if5Nz619I0w+akJrLZH0MX0Pb5DX39XOwQTtXSdQQOaYH03S1uIQp4mhOZtAXrxq4ViO67YTiLBo2638o9A==}
- resolution: {integrity: sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==}
- engines: {node: '>=0.12'}
-
resolution: {integrity: sha512-kxL7msIffSuh9aaFAMD7rxAIuTRMAHMeBtgHW2yUdWw732ZNh4MehkF2gdjvtdmikkaIP9bFDDJOPlsvm7avrA==}
engines: {node: '>=20.19.0'}
- resolution: {integrity: sha512-dtJUTepzMW3Lm/NPxRf3wP4642UWhjL2sQxc+ym2YMj1m/H2zDNQOlezafzkHwn6sMstjHTwG6iQQsctDW/b1A==}
- engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0}
-
resolution: {integrity: sha512-poHGpORABojJJucnV9KbOavETW8lBVnphkW77ER5/BQ5Fz7oXSoCNek7IH3vR5nRjdsEz926ibFYX8KtLQmdyw==}
@@ -3171,10 +2999,6 @@ packages:
resolution: {integrity: sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==}
engines: {node: '>=10.13.0'}
- resolution: {integrity: sha512-Wjlyrolmm8uDpm/ogGyXZXb1Z+Ca2B8NbJwqBVg0axK9GbBeoS7yGV6vjXnYdGm6X53iehEuxxbyiKp8QmN4Vw==}
- engines: {node: 18 || 20 || >=22}
-
resolution: {integrity: sha512-U7veizMqxyKlM58+Z5j2ngJBH/r9siDmxpvNxSw0PylF6WQvrASJEZrxh1hidRBJc2jqoBVSyOban5u8m+6Rxg==}
peerDependencies:
@@ -3197,16 +3021,6 @@ packages:
resolution: {integrity: sha512-UikN5yr7xsCDAq87Or5or0PAlD3HJJOKVzM05az588WnpDJ4Ux7a2A53Qi6gofGg2/EtvF/H4hCi/TXfCW4Y6w==}
engines: {node: ^22.13.0 || >=24.0.0}
- resolution: {integrity: sha512-qY60FjREgVZL03vJU6IfMV4GDjGBIoOyvuFdpBDIX9yTlDw0TjxVBQp+P8NvpdIXNJvfWBTNul7fsAQJq2FNpg==}
- engines: {node: '>=14'}
-
- resolution: {integrity: sha512-iNpSopa+4YHX50UOk825tBy7MghmXHo/ZpLskBYN0kAr1xhH8GlIMk5bLRXcZlfP3AnLUcSuFMu8C4MdOUxA8A==}
-
- resolution: {integrity: sha512-GYdjWKDkbRLkZ5geuHs5NY1puJ+PXwP7+fHPRz06Eirsb9ugf6d8kkXav6ADhcODhFFPMIXyxkxSuMf3D6NCFA==}
-
resolution: {integrity: sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==}
engines: {node: '>= 4'}
@@ -3239,10 +3053,6 @@ packages:
resolution: {integrity: sha512-ixkJoqQvAP88E6wLydLGGqCJsrFUnqoH6HnaczB8XmDH1oaWU+xxdptvikTgaEhtZ53Ky6YXiBuUI2WXLMCwjw==}
- resolution: {integrity: sha512-mE00Gnza5EEB3Ds0HfMyllZzbBrmLOX3vfWoj9A9PEnTfratQ/BcaJOuMhnkhjXvb2+FkY3VuHqtAGpTPmglFQ==}
- engines: {node: '>=18'}
-
resolution: {integrity: sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==}
@@ -3250,10 +3060,6 @@ packages:
resolution: {integrity: sha512-ZLYxxq2efNUsaUMViQXML/HMBkaJSd8WAFcNJQfWOGi+KLGQyZA8Ewpcj7yWur6KzMHlrZNXTXr8trbx/bkZRw==}
engines: {node: ^22.22.2 || ^24.15.0 || >=26.0.0}
- resolution: {integrity: sha512-ekilCSN1jwRvIbgeg/57YFh8qQDNbwDb9xT/qu2DAHbFFZUicIl4ygVaAvzveMhMVr3LnpSKTNnwt8PoOfmKhQ==}
- hasBin: true
-
resolution: {integrity: sha512-AC/7JofJvZGrrneWNaEnJeOLUx+JlGt7tNa0wZiRPT4MY1wmfKjt2+6O2p2uz2+skll8OZZmJMNqeke7kKbNgQ==}
hasBin: true
@@ -3274,11 +3080,6 @@ packages:
canvas:
optional: true
- resolution: {integrity: sha512-/sM3dO2FOzXjKQhJuo0Q173wf2KOo8t4I8vHy6lF9poUp7bKT0/NHE8fPX23PwfhnykfqnC2xRxOnVw5XuGIaA==}
- engines: {node: '>=6'}
- hasBin: true
-
resolution: {integrity: sha512-+DWg8jCJG2TEnpy7kOm/7/AxaYoaRbjVB4LFZLySZlWn8exGs3A4OLJR966cVvU26N7X9TWxl+Jsw7dzAqKT6g==}
engines: {node: '>=16'}
@@ -3289,9 +3090,6 @@ packages:
resolution: {integrity: sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==}
- resolution: {integrity: sha512-fQhoXdcvc3V28x7C7BMs4P5+kNlgUURe2jmUT1T//oBRMDrqy1QPelJimwZGo7Hg9VPV3EQV5Bnq4hbFy2vetA==}
-
resolution: {integrity: sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==}
@@ -3306,10 +3104,6 @@ packages:
resolution: {integrity: sha512-CYDD3SOtsHtyXeEORYRx2qBtpDJFjRTGXUtmNEMGyzYOKj1TE3tycdlho7kA1Ufx9OYWZzg52QFBGALTirzDSw==}
- resolution: {integrity: sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==}
- engines: {node: '>=6'}
-
resolution: {integrity: sha512-4+B63kyZt+Y8snQiUGydK1vgY9xYQJZEh9K/nIAIEts+gYJzy1EiAw3BbK8xpWRuWUpN70SNCMjqRGTm75xxIA==}
engines: {node: '>=22'}
@@ -3318,9 +3112,6 @@ packages:
resolution: {integrity: sha512-fmIq+7kv4WbFm2tcfznRzikqB4cuNpgZ40PSU2fAJ2/OO5XhojqnTPrmgrCjYSRJVwBln03XcRXJGnw9H099IQ==}
engines: {node: '>=22.0.0'}
- resolution: {integrity: sha512-y+SqErxb8h7nE/fiEX07jsbuhrpO9lL8eca7/Y1nuWV2moNlXhyd59iDGcRf6moVyDMbmTNzL40SUyrFU/yDpg==}
-
resolution: {integrity: sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==}
engines: {node: '>= 0.8.0'}
@@ -3487,10 +3278,6 @@ packages:
resolution: {integrity: sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==}
engines: {node: '>=10'}
- resolution: {integrity: sha512-ja1E3yCr9i/0hmBVaM0bfwDjnGy8I/s6PP4DFp+yP+a+mrHO4Rm7DtmnqROTUkHIkqffC84YY7AeqX6oFk0WFg==}
- engines: {node: '>=18'}
-
resolution: {integrity: sha512-U4N8FgzmWxc8k1VH8Kr6lQg18U7Fjvby6wXHVRX/ZZ7IwWbRMgrRbP0Wrb5q5NVinryp4SQampHKdvtecItxUg==}
engines: {node: 20 || >=22}
@@ -3505,11 +3292,6 @@ packages:
resolution: {integrity: sha512-z12OxmaPGE0F4xlpGdjuAUckipLpQlTAuAmyGhNoD7ODpYUzvDfvtxUbjM/jwznyP178oju/KDdyi220wNJ0RQ==}
- resolution: {integrity: sha512-8dD6FusOQSrpv9Z1rdNMdlSgQOIP880DHqnohobOmYLElGEqAL/JvxvuxZO16r4HtjTlfPRDC1hbvxC9dPN2nA==}
- engines: {node: '>= 18'}
- hasBin: true
-
resolution: {integrity: sha512-zEGgrtUG8crk+TrMacJSVABU4DYDDkS8uqgU3ohrn/2fW9C2AEfUrO3m6IhpIpQpl7YcVpiXXC9cSMWDANT3dg==}
engines: {node: '>= 20'}
@@ -3521,37 +3303,10 @@ packages:
resolution: {integrity: sha512-gj39xkrjEw7nCn4nJ1M5ms6+MyMlyiGmttzsqAUsAKn6bYKwuTHh/AO3cKPF8IBrTIYTxb0wWXFs3E//Y8VoWQ==}
- resolution: {integrity: sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==}
- engines: {node: '>= 0.6'}
-
- resolution: {integrity: sha512-aU5EJuIN2WDemCcAp2vFBfp/m4EAhWJnUNSSw0ixs7/kXbd6Pg64EmwJkNdFhB8aWt1sH2CTXrLxo/iAGV3oPQ==}
- engines: {node: '>= 0.6'}
-
- resolution: {integrity: sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==}
- engines: {node: '>= 0.6'}
-
- resolution: {integrity: sha512-Lbgzdk0h4juoQ9fCKXW4by0UJqj+nOOrI9MJ1sSj4nI8aI2eo1qmvQEie4VD1glsS250n15LsWsYtCugiStS5A==}
- engines: {node: '>=18'}
-
- resolution: {integrity: sha512-VP79XUPxV2CigYP3jWwAUFSku2aKqBH7uTAapFWCBqutsbmDo96KY5o8uh6U+/YSIn5OxJnXp73beVkpqMIGhA==}
- engines: {node: '>=18'}
-
resolution: {integrity: sha512-vpLQEs+VLCr1nU0BXS07maYoFwlDAH0gngQuuttxIwutDFEMHq2blX+8vpgxDdK3J1PwjCJiep77OitTZ4Ll1A==}
engines: {node: 18 || 20 || >=22}
- resolution: {integrity: sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==}
-
- resolution: {integrity: sha512-tEBHqDnIoM/1rXME1zgka9g6Q2lcoCkxHLuc7ODJ5BxbP5d4c2Z5cGgtXAku59200Cx7diuHTOYfSBD8n6mm8A==}
- engines: {node: '>=16 || 14 >=14.17'}
-
resolution: {integrity: sha512-d+ObxMQFmbt10sretNDytwt85VrbkhhUA/JBGm1MPaWJ65Cl4wOgLaB1NYvJSZ0Ef03MMEU/0xpPMXUIQ29UfA==}
@@ -3582,30 +3337,13 @@ packages:
resolution: {integrity: sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==}
- resolution: {integrity: sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==}
- engines: {node: '>= 0.6'}
-
resolution: {integrity: sha512-g9yhqoedzIUm0nTnTqAQvueMPVOuIY16bqgAJJC8XOOubYFNwz6IER9qs0Gq2Xd0+CecCKFjtdDTMA4u4xG06Q==}
- resolution: {integrity: sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==}
- engines: {node: '>=0.10.0'}
-
resolution: {integrity: sha512-JYc0DPlpGWB40kH5g07gGTrYuMqV653k3uBKY6uITPWds3M0ov3GaWGp9lbE3Bzngx8+XkfzgvASb9vk9JDFXQ==}
engines: {node: '>=14.16'}
- resolution: {integrity: sha512-vRyr0r4cbBapw07Xw8xrj9Teq3o7MUD35rSaTcanDbW+aK2XHDgJFiU6ZTj2GBw7Q12ysdsyFss+Vdz4hQ0Y6Q==}
- engines: {node: '>=18'}
- hasBin: true
-
- resolution: {integrity: sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==}
- engines: {node: '>=0.10.0'}
-
resolution: {integrity: sha512-XrsrhT5sybtKI6wakr2SPOlGZWWYbUXZ7a0jT8/QOeAPau+1X/bSegNe5YR75oJmEZQbKningirmGOEJCIk61Q==}
engines: {node: '>=12.20.0'}
@@ -3678,9 +3416,6 @@ packages:
resolution: {integrity: sha512-z1e/HMG90obSGeidlli3hj7cbocou0/wa5HacvI3ASx34PecNjNQeaHNo5WIZpWofN9kgkqV1q5YvXe3F0FoPw==}
- resolution: {integrity: sha512-e6qHKe3a9HWr0oMRVDTRhKce+bRO8VGQR3NyVwcjwrbhMmFCX9KszEV35+rn4AdilFAq9VPxP/Fe1wC9Qjd2lw==}
-
resolution: {integrity: sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==}
engines: {node: '>=8'}
@@ -3689,16 +3424,9 @@ packages:
resolution: {integrity: sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==}
engines: {node: '>=8'}
- resolution: {integrity: sha512-3O/iVVsJAPsOnpwWIeD+d6z/7PmqApyQePUtCndjatj/9I5LylHvt5qluFaBT3I5h3r1ejfR056c+FCv+NnNXg==}
- engines: {node: 18 || 20 || >=22}
-
resolution: {integrity: sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w==}
- resolution: {integrity: sha512-XIxfHpEuSJbITd1H3EeQwpcZbTLHc+VVr8ANI9t5sit565tsI4/xK3KWTUFE2e6QiangUkh3B0jihzmGnNrRsQ==}
-
resolution: {integrity: sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==}
@@ -3706,10 +3434,6 @@ packages:
resolution: {integrity: sha512-qcJu88Q2IWqJsDD529JKMdwGm/dvInW4HvQnRwiH9JtihJvzGOscDtHE3x1pBKeUOTysQ8kVmLnJ2kJu7yhcGA==}
engines: {node: '>=12'}
- resolution: {integrity: sha512-0Z++uU8mvB0EvCPAEUq9BGiPcSravzJ+RPdXfjYlzXffqsogisiKRQqI6ctrSSJ6n985vxrgKtQ5n4sRINcJZg==}
- engines: {node: '>=18.0.0'}
-
resolution: {integrity: sha512-/Jm5M4RvtBFVkKWRu2BLUTNP8/M2a+UwuAX+ae4770q1qVGtfjG+WTCupoZixokjmHiry8uI+dlY8KXYV5HVVQ==}
@@ -3748,23 +3472,10 @@ packages:
resolution: {integrity: sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==}
engines: {node: '>= 0.8.0'}
- resolution: {integrity: sha512-skGHTH1Yb9QvaTC4hWnRTzEYtCpApF0UMBPz+t/0ZPzP8ihefo/btKd+QA7pUE0fEwA1SbS/NmhyEcstdXOIdA==}
- engines: {node: '>=14'}
- hasBin: true
-
resolution: {integrity: sha512-Qb1gy5OrP5+zDf2Bvnzdl3jsTf1qXVMazbvCoKhtKqVs4/YK4ozX4gKQJJVyNe+cajNPn0KoC0MC3FUmaHWEmQ==}
engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0}
- resolution: {integrity: sha512-DEvV2ZF2r2/63V+tK8hQvrR2ZGn10srHbXviTlcv7Kpzw8jWiNTqbVgjO3IY8RxrrOUF8VPMQQFysYYYv0YZxw==}
- engines: {node: '>=6'}
-
- resolution: {integrity: sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q==}
- engines: {node: '>= 6'}
-
resolution: {integrity: sha512-SVtmxhRE/CGkn3eZY1T6pC8Nln6Fr/lu1mKSgRud0eC73whjGfoAogbn78LkD8aFL0zz3bAFerKSnOl7NlErBA==}
@@ -3782,34 +3493,13 @@ packages:
resolution: {integrity: sha512-AifT7QEbW9Nri4tAwR5M/uzpBuqfZf+zwaEM/QkzEjj7NBuFD2rBuy0K3dE+8wltbezDV7JMA0WfnCPYRSYbXA==}
- resolution: {integrity: sha512-Y0bARz53lhEC1NMCASs0/j+faB/zqt3R8hpvg1e8+61ZVJ4UL0UdC4cBbXfZMcIuhrfgeILTLe+ZeBCavQPtKQ==}
- peerDependencies:
- react: ^19.3.1
-
- resolution: {integrity: sha512-BVwyLQjyfHJ9DNLKCcddO8qeURZFONJv3jF+gf490tVx+VAKy6Qbc3d2BESvYMe51Un7G59kzRd0W55+vXIfmg==}
- engines: {node: '>=20.19.0'}
- hasBin: true
- peerDependencies:
- react: ^18.0 || ^19.0 || ^19.0.0-rc
- react-dom: ^18.0 || ^19.0 || ^19.0.0-rc
-
resolution: {integrity: sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==}
- resolution: {integrity: sha512-QNhWdt7nrgVWWQG58QuGsAR3jv3Hbe4mb4vz7w2csnHavciZJgda1CPNaldF6eVxv90ud3jUXpKlHL69gO38yw==}
- engines: {node: '>=0.10.0'}
-
resolution: {integrity: sha512-GDhwkLfywWL2s6vEjyhri+eXmfH6j1L7JE27WhqLeYzoh/A3DBaYGEj2H/HFZCn/kMfim73FXxEJTw06WtxQwg==}
engines: {node: '>= 14.18.0'}
- resolution: {integrity: sha512-Kko+Y5XQ6fM+Ce3dq3m9YGxnacYZYl9cA1wZjaF3Vbry2L3i1qVg8+CAgNPsXRArPMUMCaOR7oa9Nqntc43JKA==}
- engines: {node: '>= 20.19.0'}
-
resolution: {integrity: sha512-8g3/Otx1eJaVD12e31UbJj1YzdtVvzH85HV7t+9MJYk/u3XmkOUJ5Ys9wQrf9PCPK8+xn4ymzqYCiZl6QWKn+A==}
@@ -3870,12 +3560,6 @@ packages:
resolution: {integrity: sha512-xAg7SOnEhrm5zI3puOOKyy1OMcMlIJZYNJY7xLBwSze0UjhPLnWfj2GF2EpT0jmzaJKIWKHLsaSSajf35bcYnA==}
engines: {node: '>=v12.22.7'}
- resolution: {integrity: sha512-juorfCmIkIw8tT+p5BXSm6PJjQF/ycEYmKyzURCIt/RaZIhL+PulbQ9Yu2z1HdOJDdqDTlxA1+xKBmHXJsczAw==}
-
- resolution: {integrity: sha512-5TF+l7p4+OsnP8BCCvSyZiSPc4x4//p5uPwK8TCnVPJYRmU2aYKMpOXvw8zM5a5JvuuCGN1jmsMwuU2W02ukfA==}
-
resolution: {integrity: sha512-Y7/KDsb8LjooZpwaqGyulO6DQlksgCncchHGk+sZIY4SBvUocMBEFH5Ur1fI4dV+Jvl0w6cjvucaIi40puRioA==}
engines: {node: '>=10'}
@@ -3909,20 +3593,6 @@ packages:
resolution: {integrity: sha512-2wcC/oGxHis/BoHkkPwldgiPSYcpZK3JU28WoMVv55yHJgcZ8rlXvuG9iZggz+sU1d4bRgIGASwyWqjxu3FM0g==}
engines: {node: '>=18'}
- resolution: {integrity: sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==}
-
- resolution: {integrity: sha512-6Oy52pbg+kvdCVvjcN+FnY7BvxZ7cIHNScbvztT/It5d0vbwoJoVZmF2gjJmnV0/4WlXRfG15zc45ySk9Ah8bw==}
-
- resolution: {integrity: sha512-IH/iSeO9T6gz1KkFleGDWkG9N3dl4jXVYUtMhIqH10Md0ttMer8nUNWiP1DKuNrybD2xBrixLJdCC9J6ECoYkg==}
- engines: {node: '>=10.0.0'}
-
- resolution: {integrity: sha512-9ZV9zg8vN8hO3Y25DhR7nUkJ1VDnBhq5O/JrXhFT9s6+F0gqytSASTHVfCFc2mJXaTfARroErplXlzFWwETZqQ==}
- engines: {node: '>=10.2.0'}
-
resolution: {integrity: sha512-4GAmLOWPfNV8H9Jfn2LSFTpNEG6jiOKPiwd5lnLGQtehHaX6l3TOLzJqQ7mqwB/3k1Yy3zyumFVopmc/tm34ow==}
@@ -3949,16 +3619,6 @@ packages:
resolution: {integrity: sha512-OtU/EgQ1kIm5KwqQpBC6ZEMXrZRui11w8zgfTWp8cdO9B8OaPsbA8bTHO2P+HNo1VlUTGMVBwPhydu6poeXiag==}
- resolution: {integrity: sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==}
- engines: {node: '>=4'}
-
- resolution: {integrity: sha512-Y0AvSwDw8y+nlSNFXMm2g6L51rBGdAQT20J3YSOqxC53Lo3bjWRtr2BKcfYoAf352WYpsZSTURrA0tqhfgudPA==}
-
- resolution: {integrity: sha512-zOh9jPYI+xrNOyisSelgym4tolKTJCQd5GBhK0+0xJvcYDcwlOoxF/rnFKQ2KRZknXSG9jWAp66fwP6AxN9STg==}
-
resolution: {integrity: sha512-XXWIQt633/EpAFx8aZDOTjBzrCaGmhvEQlQo6MVPfa2OzO2cWo+4hV9h+6UkHYlXGfy+ODXKUdP7Pthmcu5ATw==}
@@ -4043,10 +3703,6 @@ packages:
resolution: {integrity: sha512-wieBHXygIm7OyQOu5hQlkk62/WyCFYGlWg7L6/ZCUZwx0o398Zkn4pVmMyfYhfMG8kGrj/Krt8eIk6UKC6VzwA==}
- resolution: {integrity: sha512-yEFYrVhod+hdNyx7g5Bnkkb0G6si8HJurOoOEgC8B/O0uXLHlaey/65KRv6cuWBNhBgHKAROVpc7QyYqE5gFng==}
- engines: {node: '>=20'}
-
resolution: {integrity: sha512-XPPUyAc+cvspz3lHTcR/QgPfW2A0lv/xQNIjX3HGhLR+Nq2lHaLq5MtTesHn8GUr3W3DguT2KT5x3NVgRtYwmA==}
@@ -4136,10 +3792,6 @@ packages:
resolution: {integrity: sha512-133O+10nJmVI8w5xeVZPEv5PIrv7iaUae07wv1aH8XJH95Ur6YIhWAPhPyP1YPlbPS9fCVcNIZTu7m8urRVF0A==}
engines: {node: '>=14.13.1'}
- resolution: {integrity: sha512-NoZ4roiN7LnbKn9QqE1amc9DJfzvZXxF4xDavcOWt1BPkdx+m+0gJuPM+S0vCe7zTJMYUP0R8pO2XMr+Y8oLIg==}
- engines: {node: '>=6'}
-
resolution: {integrity: sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==}
@@ -4159,10 +3811,6 @@ packages:
resolution: {integrity: sha512-RAH822pAdBgcNMAfWnCBU3CFZcfZ/i1eZjwFU/dsLKumyuuP3niueg2UAukXYF0E2AAoc82ZSSf9J0WQBinzHA==}
engines: {node: '>=12.20'}
- resolution: {integrity: sha512-NoSdpq/WEiAg5sjmBkmV/hfxv6HJH4NqPNrqjtSO5CwRmpsDfaf4begxW34KdJykH/l1yHtwBWQkCRdoXO8mPA==}
- engines: {node: '>=20'}
-
resolution: {integrity: sha512-eSoZzgSIyOKDtTH9MI7XMAxMaiXq7UiSFWarysN1ka66baTLDxAVdQ6WkWn6qDqsJFVrcjzvuP+CqHo9yrlQpg==}
@@ -4179,10 +3827,6 @@ packages:
resolution: {integrity: sha512-JFNbkD1Svwe0KvGi8GOeLcP4kAWQ609twvCdcHxq1oSL8svv39ZuSvajcD8B+5D0eL4+s1Is2D/O6KN3qcTeRA==}
- resolution: {integrity: sha512-8iAasVS4wUx0gPLjH8Xtz2PeDzTSiy8QiLGu2DT3X5GU+egFEQhpnbtkehbAwjvDcxIERmCYcysiODFmE3Ud0Q==}
- engines: {node: '>=18'}
-
resolution: {integrity: sha512-KTDyRTYX8sWmKXAikPHHSyc63CRPETMctyjKFupcC6OBLXT3xsN0e9aF7m+mIXutFWpUXuedtowG7iLOzp0kQg==}
@@ -4275,10 +3919,6 @@ packages:
resolution: {integrity: sha512-TQ5pAGhd5whStmqWvYF4OjQROlmv9SMFVt37qoCBdqRffuuklWYQlCNnEs2ZaIBD1kZRNnikiZOS1eqgkar0iw==}
engines: {node: '>= 0.10'}
- resolution: {integrity: sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==}
- engines: {node: '>= 0.8'}
-
resolution: {integrity: sha512-7zN7Bi3dFQixvvbUJY9uGDe7Ws/dGZeBQR2pXdXmzQiakjrxBvWo0QrmsX3HK+VH+SZOltz378cmgmCS9f9rSg==}
engines: {node: '>=18', pnpm: '>=8.7.0'}
@@ -4375,9 +4015,6 @@ packages:
resolution: {integrity: sha512-KwOAJrpf+GTgBvcBQJcP38sMF0DsQKdwtG+TxM2pW44P6E5k0hDbWrDmyuJDIF0Uef0aQq0ZoJs+5oI+k8ddhg==}
engines: {node: ^22.14.0 || >=24.0.0}
- resolution: {integrity: sha512-VGkKJ564kzt6Ms1dbgPP/yuIoQCrsFAnRbptpC5wOEsDaNsbCB2bnfnaA8i/vRs5tjUSEOtIuvl9/MyVsvQZCg==}
-
resolution: {integrity: sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==}
engines: {node: '>= 8'}
@@ -4420,10 +4057,6 @@ packages:
resolution: {integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==}
engines: {node: '>=10'}
- resolution: {integrity: sha512-xYqdZFUK/VYazNl/oCDYN+3WloWQwMfZxBoiNt6qNyk+xfOdi598muWE42rNZFp1kNOiqW936q5RhUdnpqElSg==}
- engines: {node: '>=18'}
-
resolution: {integrity: sha512-kYK9e1XdfirNhkipzW0wmMcSWcVF/CWnuugodfVYRCUwvoBefweL9HzB96OiKEhsx78V5WbUxbJqlizMX869Qg==}
engines: {node: '>=14.18.0'}
@@ -4492,53 +4125,10 @@ snapshots:
js-tokens: 4.0.0
picocolors: 1.1.1
- '@babel/[email protected]':
- dependencies:
- '@babel/parser': 7.29.9
- '@babel/types': 7.29.8
- '@jridgewell/gen-mapping': 0.3.13
- '@jridgewell/trace-mapping': 0.3.31
- jsesc: 3.1.0
-
- '@babel/[email protected]': {}
-
- '@babel/[email protected]': {}
-
'@babel/[email protected]': {}
- '@babel/[email protected]':
- dependencies:
- '@babel/types': 7.29.8
-
- '@babel/[email protected]':
- dependencies:
- '@babel/types': 7.29.8
-
'@babel/[email protected]': {}
- '@babel/[email protected]':
- dependencies:
- '@babel/code-frame': 7.29.7
- '@babel/parser': 7.29.9
- '@babel/types': 7.29.8
-
- '@babel/[email protected]':
- dependencies:
- '@babel/code-frame': 7.29.7
- '@babel/generator': 7.29.8
- '@babel/helper-globals': 7.29.7
- '@babel/parser': 7.29.2
- '@babel/template': 7.29.7
- '@babel/types': 7.29.8
- debug: 4.4.3
- transitivePeerDependencies:
- - supports-color
-
- '@babel/[email protected]':
- dependencies:
- '@babel/helper-string-parser': 7.29.7
- '@babel/helper-validator-identifier': 7.29.7
-
'@blazediff/[email protected]': {}
'@bramus/[email protected]':
@@ -5533,22 +5123,8 @@ snapshots:
'@poppinss/[email protected]':
optional: true
- dependencies:
- entities: 4.5.0
- html-to-text: 9.0.5
- html5parser: 3.0.0
- prettier: 3.9.10
- react: 19.3.1
- react-dom: 19.3.1([email protected])
-
'@rolldown/[email protected]': {}
- '@selderee/[email protected]':
- dependencies:
- domhandler: 5.0.3
- selderee: 0.11.0
-
dependencies:
'@eslint/core': 0.17.0
@@ -5562,8 +5138,6 @@ snapshots:
'@sinclair/[email protected]': {}
- '@socket.io/[email protected]': {}
-
'@solid-primitives/[email protected]([email protected])':
dependencies:
'@solid-primitives/utils': 6.4.1([email protected])
@@ -5828,10 +5402,6 @@ snapshots:
'@types/deep-eql': 4.0.2
assertion-error: 2.0.1
- '@types/[email protected]':
- dependencies:
- '@types/node': 26.6.5
-
'@types/[email protected]': {}
@@ -5865,24 +5435,12 @@ snapshots:
dependencies:
undici-types: 8.9.0
- dependencies:
- '@types/react': 19.3.0
-
- '@types/[email protected]':
- dependencies:
- csstype: 3.2.3
-
optional: true
optional: true
- '@types/[email protected]':
- dependencies:
- '@types/node': 26.6.5
-
dependencies:
'@typeschema/core': 0.14.0(@types/[email protected])
@@ -6046,7 +5604,7 @@ snapshots:
'@testing-library/dom': 10.4.2
'@testing-library/user-event': 14.6.8(@testing-library/[email protected])
transitivePeerDependencies:
- bufferutil
- msw
@@ -6075,7 +5633,7 @@ snapshots:
pngjs: 7.0.0
sirv: 3.0.2
tinyrainbow: 3.2.0
ws: 8.22.0
transitivePeerDependencies:
- bufferutil
@@ -6280,21 +5838,12 @@ snapshots:
'@yuku-toolchain/[email protected]': {}
- dependencies:
- mime-types: 2.1.35
- negotiator: 0.6.3
-
dependencies:
acorn: 8.19.0
- dependencies:
- ajv: 8.20.0
-
dependencies:
fast-deep-equal: 3.1.3
@@ -6339,11 +5888,6 @@ snapshots:
- dependencies:
- stubborn-fs: 2.0.0
- when-exit: 2.1.5
-
@@ -6390,12 +5934,6 @@ snapshots:
dependencies:
readdirp: 4.1.2
- dependencies:
- readdirp: 5.1.1
-
-
@@ -6423,8 +5961,6 @@ snapshots:
-
@@ -6432,18 +5968,6 @@ snapshots:
array-timsort: 1.0.3
esprima: 4.0.1
- dependencies:
- ajv: 8.20.0
- ajv-formats: 3.0.1
- atomically: 2.1.1
- debounce-fn: 6.0.0
- dot-prop: 10.2.0
- env-paths: 3.0.0
- json-schema-typed: 8.0.2
- semver: 7.8.5
- uint8array-extras: 1.6.0
-
@@ -6452,17 +5976,10 @@ snapshots:
-
- dependencies:
- object-assign: 4.1.1
- vary: 1.1.2
-
@@ -6526,12 +6043,6 @@ snapshots:
optional: true
- dependencies:
- mimic-function: 5.0.1
-
-
dependencies:
ms: 2.1.3
@@ -6553,32 +6064,10 @@ snapshots:
- dependencies:
- domelementtype: 2.3.0
- domhandler: 5.0.3
- entities: 4.5.0
-
-
- dependencies:
- domelementtype: 2.3.0
-
optionalDependencies:
'@types/trusted-types': 2.0.7
- dependencies:
- dom-serializer: 2.0.0
- domelementtype: 2.3.0
- domhandler: 5.0.3
-
- dependencies:
- type-fest: 5.10.0
-
dependencies:
'@standard-schema/spec': 1.1.0
@@ -6597,24 +6086,6 @@ snapshots:
-
- dependencies:
- '@types/cors': 2.8.19
- '@types/node': 26.6.5
- '@types/ws': 8.18.2
- accepts: 1.3.8
- cookie: 0.7.2
- cors: 2.8.6
- debug: 4.4.3
- engine.io-parser: 5.2.3
- ws: 8.22.0
- transitivePeerDependencies:
- - bufferutil
- - supports-color
- - utf-8-validate
-
dependencies:
graceful-fs: 4.2.11
@@ -6622,12 +6093,8 @@ snapshots:
-
-
@@ -6828,12 +6295,6 @@ snapshots:
dependencies:
is-glob: 4.0.3
- dependencies:
- minimatch: 10.2.6
- minipass: 7.1.3
- path-scurry: 2.0.2
-
dependencies:
csstype: 3.2.3
@@ -6854,23 +6315,6 @@ snapshots:
transitivePeerDependencies:
- '@noble/hashes'
- dependencies:
- '@selderee/plugin-htmlparser2': 0.11.0
- deepmerge: 4.3.1
- dom-serializer: 2.0.0
- htmlparser2: 8.0.2
- selderee: 0.11.0
-
-
- dependencies:
- domelementtype: 2.3.0
- domhandler: 5.0.3
- domutils: 3.2.2
- entities: 4.5.0
-
@@ -6897,8 +6341,6 @@ snapshots:
dependencies:
'@types/estree': 1.0.9
-
@@ -6909,8 +6351,6 @@ snapshots:
- '@noble/hashes'
- canvas
-
@@ -6951,8 +6391,6 @@ snapshots:
transitivePeerDependencies:
- '@noble/hashes'
-
dependencies:
'@babel/runtime': 7.29.10
@@ -6963,8 +6401,6 @@ snapshots:
-
@@ -6975,14 +6411,10 @@ snapshots:
dependencies:
'@keyv/serialize': 1.1.1
-
-
dependencies:
prelude-ls: 1.2.1
@@ -7101,11 +6533,6 @@ snapshots:
dependencies:
p-locate: 5.0.0
- dependencies:
- is-unicode-supported: 2.1.0
- yoctocolors: 2.2.0
-
@@ -7118,36 +6545,16 @@ snapshots:
dependencies:
'@jridgewell/sourcemap-codec': 1.6.0
-
-
-
- dependencies:
- mime-db: 1.52.0
-
- dependencies:
- mime-db: 1.54.0
-
-
dependencies:
brace-expansion: 5.0.12
-
-
dependencies:
acorn: 8.19.0
@@ -7173,23 +6580,11 @@ snapshots:
-
-
optional: true
- dependencies:
- citty: 0.2.2
- pathe: 2.0.3
- tinyexec: 1.3.1
-
-
@@ -7380,30 +6775,16 @@ snapshots:
dependencies:
entities: 8.1.0
- dependencies:
- leac: 0.6.0
- peberminta: 0.9.0
-
- dependencies:
- lru-cache: 11.5.3
- minipass: 7.1.3
-
-
-
dependencies:
confbox: 0.1.8
@@ -7441,21 +6822,12 @@ snapshots:
-
dependencies:
ansi-regex: 5.0.1
ansi-styles: 5.2.0
react-is: 17.0.2
-
- dependencies:
- kleur: 3.0.3
- sisteransi: 1.0.5
-
optional: true
@@ -7470,50 +6842,10 @@ snapshots:
- dependencies:
- react: 19.3.1
- scheduler: 0.28.0
-
- dependencies:
- '@babel/parser': 7.29.2
- '@babel/traverse': 7.29.0
- '@react-email/render': 2.1.1([email protected]([email protected]))([email protected])
- chokidar: 5.0.0
- commander: 13.1.0
- conf: 15.1.0
- css-tree: 3.2.1
- debounce: 2.2.0
- esbuild: 0.28.2
- glob: 13.0.6
- jiti: 2.6.1
- log-symbols: 7.0.1
- marked: 15.0.12
- mime-types: 3.0.2
- normalize-path: 3.0.0
- nypm: 0.6.6
- picospinner: 3.1.2
- prismjs: 1.30.0
- prompts: 2.4.2
- react: 19.3.1
- react-dom: 19.3.1([email protected])
- socket.io: 4.8.4
- tailwindcss: 4.3.3
- tsconfig-paths: 4.2.0
- transitivePeerDependencies:
- - bufferutil
- - supports-color
- - utf-8-validate
-
-
-
@@ -7572,12 +6904,6 @@ snapshots:
dependencies:
xmlchars: 2.2.0
-
- dependencies:
- parseley: 0.12.1
-
@@ -7606,37 +6932,6 @@ snapshots:
mrmime: 2.0.1
totalist: 3.0.1
-
- dependencies:
- debug: 4.4.3
- ws: 8.22.0
- transitivePeerDependencies:
- - bufferutil
- - supports-color
- - utf-8-validate
-
- dependencies:
- '@socket.io/component-emitter': 3.1.2
- debug: 4.4.3
- transitivePeerDependencies:
- - supports-color
-
- dependencies:
- accepts: 1.3.8
- cors: 2.8.6
- debug: 4.4.3
- engine.io: 6.6.11
- socket.io-adapter: 2.5.8
- socket.io-parser: 4.2.7
- transitivePeerDependencies:
- - bufferutil
- - supports-color
- - utf-8-validate
-
dependencies:
csstype: 3.2.3
@@ -7663,14 +6958,6 @@ snapshots:
-
- dependencies:
- stubborn-utils: 1.0.2
-
-
@@ -7805,8 +7092,6 @@ snapshots:
-
@@ -7871,12 +7156,6 @@ snapshots:
- dependencies:
- json5: 2.2.3
- minimist: 1.2.8
- strip-bom: 3.0.0
-
@@ -7894,10 +7173,6 @@ snapshots:
optional: true
- dependencies:
- tagged-tag: 1.0.0
-
optional: true
@@ -7928,8 +7203,6 @@ snapshots:
-
@@ -7988,8 +7261,6 @@ snapshots:
optional: true
-
dependencies:
runed: 0.23.4([email protected](@typescript-eslint/[email protected]))
@@ -8141,7 +7412,7 @@ snapshots:
optionalDependencies:
'@opentelemetry/api': 1.9.1
'@types/node': 26.6.5
'@vitest/ui': 5.0.5([email protected])
jsdom: 30.1.3
transitivePeerDependencies:
@@ -8194,8 +7465,6 @@ snapshots:
transitivePeerDependencies:
- '@noble/hashes'
-
dependencies:
isexe: 2.0.0
@@ -8214,8 +7483,6 @@ snapshots:
-
dependencies:
'@yuku-toolchain/types': 0.19.0
diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml
index 862309ed8..3b59378d7 100644
--- a/pnpm-workspace.yaml
+++ b/pnpm-workspace.yaml
@@ -1,7 +1,6 @@
packages:
- frontend
- tests
- - email-templates
autoDedupe: true
diff --git a/vite.config.ts b/vite.config.ts
index 090e1d3df..29ae30503 100644
--- a/vite.config.ts
+++ b/vite.config.ts
@@ -39,7 +39,6 @@ export default defineConfig({
staged: {
'frontend/**/*': "sh -c 'just format frontend --check'",
'tests/**/*.{ts,tsx,js,jsx,mts,cts}': "sh -c 'just format tests --check'",
- 'email-templates/**/*.{ts,tsx,js,jsx,mts,cts}': "sh -c 'just format email --check'",
'{backend,cli,types}/**/*': "sh -c 'just format go --check'"
},
test: {