Skip to content

Merge Beta Branch#2

Merged
Panonim merged 7 commits intomainfrom
beta
Jan 21, 2026
Merged

Merge Beta Branch#2
Panonim merged 7 commits intomainfrom
beta

Conversation

@Panonim
Copy link
Copy Markdown
Owner

@Panonim Panonim commented Jan 21, 2026

No description provided.

Panonim added 7 commits January 21, 2026 21:43
- Add proper MIME multipart/alternative structure
- Include both text/plain and text/html versions
- Add extensive logging to verify template loading and HTML generation
- Update Manage Preferences link to point to /#/settings/notifications
- Template verified: 18KB HTML content being sent correctly

The email system is now sending properly formatted HTML emails. If still showing as plain text, check your email client's HTML rendering settings or spam folder.
- Removed custom MIME multipart implementation
- Using gopkg.in/gomail.v2 for proper HTML email handling
- gomail automatically handles multipart/alternative formatting
- Cleaner code with built-in TLS support
- Email sent successfully: 18KB HTML content via SMTP2GO
- Replace net/smtp with gopkg.in/gomail.v2
- Use SetBody('text/plain') + AddAlternative('text/html') pattern
- gomail handles STARTTLS, auth, and MIME encoding properly
- Simplified email sending code
- Works with any SMTP provider including SMTP2GO
- Remove 'This is a test reminder...' text from test email handler
- Remove 'This is a gentle reminder from Kept...' text and divider from template
- Replace complex SVGs with emoji icons (🔔 for notification bell, 🌱 for growth)
- Improve email client compatibility by using universally supported emoji instead of SVG graphics
- All text content is now cleaner and more concise
- Restore inline SVG for notification bell icon in header with proper namespaces
- Use base64-encoded SVG data URI for Kept logo in footer (better email client compatibility)
- Add security masking functions to test-email.sh:
  * Mask JWT tokens to first 8 characters
  * Mask email addresses in responses
  * Mask sensitive data in error messages
- Improved output readability with token display
- All sensitive information is now hidden from logs while maintaining functionality
@Panonim Panonim self-assigned this Jan 21, 2026
@Panonim Panonim merged commit c3d7612 into main Jan 21, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant