- Bump version in package.json and package-lock.json from 1.2.2 to 1.2.5
- Add Jest configuration file for testing
- Update build scripts to use npm instead of bun
- Add linting and testing scripts to package.json
- Include tsconfig files in package.json files array
refactor: update SMTP session handling to process one email per session
- Removed maxEmailsPerSession configuration and related logic
- Simplified processSession to handle a single email
- Adjusted addEmailToSession to create a new session for each email
- Updated types to reflect changes in session management
- Added error classes for various SMTP-related issues (ConnectionError, AuthenticationError, etc.) in `errors.ts`.
- Created main entry point for the SMTP over WebSocket client library in `index.ts`, exporting client, types, errors, and transport.
- Developed Nodemailer transport adapter for SMTP over WebSocket in `transport.ts`, including methods for sending mail and verifying transport configuration.
- Defined type definitions for the SMTP over WebSocket protocol in `types.ts`, including message types, connection states, and client configuration options.