Skip to content

0.3.0

Choose a tag to compare

@timothy-node timothy-node released this 07 Feb 00:35
· 7 commits to main since this release

[0.3.0] - 2026-02-06
Added

SMTP Connection Pooling - Reuses SMTP connections instead of creating new ones for each email
Conversation Store with Cleanup - Automatically cleans up old conversations (7-day retention, max 1000 entries)
Enhanced Utilities Module - New helper functions for email processing
Quoted Reply Stripping - Automatically removes quoted content from incoming emails
URL Auto-linking - Converts URLs in outgoing emails to clickable links
Domain Allowlist Matching - Support for domain wildcards like @example.com

Changed

Refactored code into separate modules for better maintainability:
    smtp-pool.ts - SMTP connection pooling
    conversation-store.ts - Thread tracking with auto-cleanup
    utils.ts - Common utility functions
Reduced channel.ts from ~600 lines to ~350 lines
Improved HTML email styling with modern font stack
Better error handling with per-message try-catch

Removed

Removed duplicate startEmailPolling function (consolidated into gateway.startAccount)

Performance

SMTP connections are now pooled and reused (5-minute idle timeout)
Memory usage is bounded by conversation store limits

[0.2.2] - 2026-02-06
Changed

Improved HTML email formatting with proper HTML entity escaping
Double newlines now create proper <p> paragraphs instead of just <br>
Security: HTML special characters (<, >, &, ") are now escaped

[0.2.1] - 2026-02-06
Added

CHANGELOG.md for tracking version history
LICENSE file (MIT)
Environment variable support documentation in README
Connection timeout configuration options (imap.timeout, smtp.timeout)

Changed

Improved IMAP connection error handling with automatic reconnection
fromName now defaults to empty string (sender shows email address only)

Fixed

IMAP connection not recovering after network interruptions

[0.2.0] - 2026-02-05
Added

Initial release with IMAP/SMTP two-way communication
Email thread tracking
Sender allowlist (allowFrom)
Attachment support
Multi-account support

Changed

Made fromName optional (can be empty to show only email address)