Conversation
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
…d test email endpoint (privacy fixes)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.