@bosonware-ent/bosonmail. Newest first.
October 30, 2026
Bug fixes
- Fixed JSON send requests:
to,cc, andbccare now sent as comma-separated strings instead of arrays in JSON request bodies. This aligns JSON serialization with the multipart behavior and resolves compatibility issues with API expectations.
Upgrade notes
If you are on 0.2.0, upgrade to 0.2.1 to ensure recipient arrays serialize correctly in JSON requests. No code changes are required.October 29, 2026
New features
- Added
timeoutMsconstructor option (default 30,000 ms) with per-requestAbortControllertimeout support. - Added
ccandbccsupport insendEmail. - Added attachment support via multipart
form-data. Up to 10 files, 10 MB each, 20 MB total. - Added
getEmailStatus(messageId)for delivery status lookups. - Expanded
Resultshape: now includesstatusCode,id,messageId, andstatusfields. - Added client-side validation for recipients, subject, body, text/html, and attachments.
- Exported TypeScript types:
Result,SendEmailBody,SendAttachment,EmailStatusResult,EmailStatusData,EmailSentStatus,BosonMailClientOptions.
Changes
textis now optional inSendEmailBody. You must provide at least one oftextorhtml.
Upgrade notes from 0.1.0
BasicsendEmail(to, subject, { text }) calls remain compatible. To use new features:- Add
timeoutMsto the constructor if you want a non-default timeout. - Pass
cc,bcc, orattachmentsin the body object. - Read
result.messageIdandresult.statusfrom the returnedResult. - Use
getEmailStatusto poll delivery state.
October 27, 2026
Initial release
constructor({ apiKey, baseUrl? })sendEmail(to, subject, { text (required), html? })returning{ success, errorMessage? }- ESM-only, zero runtime dependencies
- TypeScript declarations included
Version 0.0.0-stage is a placeholder and not a real release. Do not install it.
Version history on npm
View all published versions on the npm versions page.Next steps
Installation
Install the latest version and verify your environment.
Quickstart
Send your first email with the current SDK.
Support
Report issues or ask questions about a specific release.
npm package
View the package on npm.