Email for professionals and teams
Added changelog
Hieu Nguyen (Jack)be89083ed7fc
diff --git a/changelog/0.1.0.md b/changelog/0.1.0.mdnew file mode 100644index 0000000..be95277--- /dev/null+++ b/changelog/0.1.0.md@@ -0,0 +1,5 @@+# 0.1.0 — 2026-05-26++Initial release.++- First public push of Mailflare: Next.js App Router on Cloudflare Workers with D1, R2 and Email Routing.diff --git a/changelog/0.1.11.md b/changelog/0.1.11.mdnew file mode 100644index 0000000..60a870f--- /dev/null+++ b/changelog/0.1.11.md@@ -0,0 +1,11 @@+# 0.1.11 — 2026-06-18++## Improved++- Message display and general UI polish.+- Layout cleanup and renamed variables.+- Updated seed data.++## Docs++- Troubleshooting guide and README updates.diff --git a/changelog/0.2.0.md b/changelog/0.2.0.mdnew file mode 100644index 0000000..b98abb0--- /dev/null+++ b/changelog/0.2.0.md@@ -0,0 +1,20 @@+# 0.2.0 — 2026-08-27++## Added++- Profile picture upload for users.+- Working Reply button.++## Improved++- Setup page and various UI improvements.++## Fixed++- Backups: finish the D1 export and read the nested signed URL.+- Updater: merge upstream instead of overwriting the working tree.+- Update: resolve the source repository and dispatch the right workflow.++## Docs++- Corrected environment variable names in `.dev.vars.example`; README updates.diff --git a/changelog/0.2.1.md b/changelog/0.2.1.mdnew file mode 100644index 0000000..ff54b71--- /dev/null+++ b/changelog/0.2.1.md@@ -0,0 +1,38 @@+# 0.2.1 — 2026-09-18++A large release: threading, routing, JMAP, search, security and self-hosting.++## Added++- **Mail**: conversation threading and conversation view, Cc/Bcc and reply-all, forwarding with attachments, rich-text composer with delete button.+- **Shared inbox**, forwarding, snooze and per-message actions; inboxes spanning multiple domains.+- **Aliases**: arbitrary email aliases, subaddressing (plus and dot), alias priority over the "all domain" option, concurrent alias creation handling.+- **Routing**: catch-all, forwarding and reject rules with priorities; routing scopes; routing page in admin.+- **Webhooks**: management UI and delivery retry visibility.+- **Search**: full-text search with Gmail-style operators on an FTS5 index.+- **Auth**: password reset by recovery email and TOTP two-factor authentication.+- **JMAP**: server for external mail clients, `Email/import` for MIME-composing clients and the `header` query filter.+- **Self-host**: run Mailflare as a Docker container on any host.+- **Keyboard**: shortcuts and Command Palette (Cmd+K).+- Spam filter, signature and auto reply, sending switch per domain, mailbox deletion in settings.+- Avatars in the email view and improved contact profile.+- Import from file/IMAP, improved backup/export, `Add sequenzy`.++## Fixed++- Domains: roll back only the Cloudflare config a failed setup created; skip the Worker catch-all on Node/Docker; skip the sending API for receive-only domains; delete MX if already present during setup.+- Backups: include `mailbox_aliases` and tables added since the format shipped.+- Mailboxes: each personal mailbox gets its own name and avatar.+- Setup: sync fresh D1 bootstrap schema with migrations 0013/0021/0022.+- Sidebar crash on non-JSON responses, nav key warning, admin nav entries.+- Dependencies: resolved all `npm audit` vulnerabilities, lint script fixed.++## Changed++- Replaced the update workflow with a cron.+- Added an index on `api_keys.prefix` for fast key lookups.+- Migrations now run as part of the build script.++## Docs++- Added `CLAUDE.md`, roadmap, routing rules and webhook docs, deployment guide updates, funding file, license update.diff --git a/changelog/0.3.0.md b/changelog/0.3.0.mdnew file mode 100644index 0000000..c0f99a3--- /dev/null+++ b/changelog/0.3.0.md@@ -0,0 +1,22 @@+# 0.3.0 — 2026-09-27++## Added++- **MCP / Agent**: email assistant with its own scope.+- Original-message view.+- Rules to block bots and crawlers.+- Resizable columns; menu width persists between pages.++## Improved++- Compose form, email content rendering, avatars.+- Domain card, domain setup and record checking.+- Auto-update workflow.++## Fixed++- Backup missed some tables.++## Docs++- README, screenshot and sponsors updates; `.gitignore` update.diff --git a/changelog/0.4.0.md b/changelog/0.4.0.mdnew file mode 100644index 0000000..0d1bd1b--- /dev/null+++ b/changelog/0.4.0.md@@ -0,0 +1,16 @@+# 0.4.0 — 2026-09-28++## Added++- Calendar.+- Browser notifications.+- Assistant message queue.++## Changed++- **Runtime**: migrated the Cloudflare runtime from OpenNext to vinext.++## Improved++- JMAP, agent, sticky email header, menu icons.+- Version bump following a GPT-assisted check.diff --git a/changelog/0.4.1.md b/changelog/0.4.1.mdnew file mode 100644index 0000000..f56b50c--- /dev/null+++ b/changelog/0.4.1.md@@ -0,0 +1,36 @@+# 0.4.1 — 2026-10-03++## Added++- Multiple accounts, with alias selection when creating accounts.+- Dark mode with a light/dark/system theme setting.+- Bookings.+- Calendar tools for agents.+- HTML signatures.+- Show the recipient address, with an optional full form.++## Improved++- Bulk message actions, permissions, navigation and menu UI.+- Attachments, original-message view, backup UI.+- Mobile layout: icon-rail sidebar, narrow-screen wrapping.+- Calendar background; calendar drag performance.++## Performance++- Bounded conversation queries for message lists.+- Faster message list and folder counts on large mailboxes.++## Fixed++- Routing: accept a blank forwarding address on deliver and reject rules.+- Page every conversation; drop host sqlite knobs.+- Backups: skip `jmap_mailbox_revisions` as derived data.++## Security++- Ran a security audit.++## Docs++- `CF_TOKEN` listed first, with setup steps.diff --git a/changelog/0.5.0.md b/changelog/0.5.0.mdnew file mode 100644index 0000000..1d61c20--- /dev/null+++ b/changelog/0.5.0.md@@ -0,0 +1,9 @@+# 0.5.0 — 2026-10-03++## Added++- Sending and receiving through Resend and AWS SES.++## Improved++- Calendar mobile layout.diff --git a/changelog/0.5.1.md b/changelog/0.5.1.mdnew file mode 100644index 0000000..b72f235--- /dev/null+++ b/changelog/0.5.1.md@@ -0,0 +1,28 @@+# 0.5.1 — 2026-10-10++## Added++- **Localization**: interface languages Spanish, French, German, Russian, Simplified Chinese, Japanese, Indonesian, Turkish, Vietnamese, Hindi, Arabic, Bengali, Urdu and Brazilian Portuguese; plurals, RTL support, server translator and on-demand locale catalogs. Nearly every screen translated. Language and time zone moved to account settings.+- **Drive**.+- **Storage**: AWS S3 and Backblaze B2 as object storage.+- **PWA** and Web Push notifications.+- Scheduled tab (#97).+- Auto-delete Trash and Spam after a chosen number of days; permanent delete from Trash and Spam.+- Import whole IMAP folders in batches.+- IAM policy shown when an SES save is refused for missing permissions (#98).++## Improved++- Email style preservation with isolated rendering and remote content controls.+- Drafts view on mobile; Drive layout.++## Fixed++- Read status inconsistency.+- App passwords now send `mailboxIds` so JMAP keys can be created.+- Workaround for a Cloudflare 401 error.+- Recipient-display test bundling; email paint contained in the reader.++## Docs++- README language docs and domain configuration guide.diff --git a/changelog/0.5.2.md b/changelog/0.5.2.mdnew file mode 100644index 0000000..c4d2ea9--- /dev/null+++ b/changelog/0.5.2.md@@ -0,0 +1,33 @@+# 0.5.2 — 2026-10-11++Accessibility and usability pass.++## Accessibility++- Raise the contrast of secondary text to WCAG AA (#95).+- Pages get a title, one h1 and unique landmarks (#94).+- Announce errors and status messages; name unlabelled controls (#93).+- Proper focus handling for dialogs, menus and the composer (#92).+- Message rows reachable by keyboard; skip link added (#91).+- The "g" navigation shortcuts match reliably (#89).++## Fixed++- "Move to Inbox" works from Snoozed and custom folders (#90).+- Tell the user when a list action fails (#88).+- Drop removed messages from the selection and step back from an empty page (#87).+- Composer stays usable when a request fails and keeps what was typed (#86).+- Star button on conversation cards (#85).+- Stay in the current folder after spam, trash and archive (#84).+- Close the composer after a message is sent (#83).+- Email colors in dark/light mode.++## Security++- Serve attachments and Drive files inline only when their type cannot run script (#103).++## Other++- Migration check added.+- Branded page title rendered on the server (#81).+- Tests brought back in line with the code (#82).diff --git a/changelog/0.5.3.md b/changelog/0.5.3.mdnew file mode 100644index 0000000..ac57379--- /dev/null+++ b/changelog/0.5.3.md@@ -0,0 +1,45 @@+# 0.5.3 — 2026-10-28++## Added++- **Databases**: PostgreSQL, MySQL and libSQL alongside D1.+- **Imports** run as background jobs with progress; read/spam inferred from headers; Google Takeout import (#184).+- **Opt-in read receipts** with per-domain pixel hosts (#181), configurable default.+- **Follow-up reminders** for sent mail without a reply.+- Undo-send window as an account setting.+- **Spam**: trust SES/Resend verdicts, blocklist, domain-age and impersonation checks (#180).+- **Mobile**: JMAP change log, device sign-in (QR), native push relay (#154); unread count as PWA badge (#160).+- Account deletion (#100); users manage their own mailboxes from Settings (#133).+- Assistant gets the open email as context (#140); MCP scheduled tools and atomic scheduled-send cancel (#128).+- Sinhala interface language (#110); missing translations filled in all locales; Turkish fixes (#123, #130).+- Skip configuration when adding a domain (#152); `.env.docker.example` (#139).++## Performance++- Covering and foreign-key indexes for folder listing, counts and conversation paging.+- Scan-first conversation paging; fewer round-trips for dashboard, JMAP reads and sending (#188).+- Deduplicated requests and bounded client caches (#149).+- Opt-in pragma tuning; sqlite mmap/cache settings for self-hosting.++## Fixed++- Inbound: stored raw keyed on a content hash; relay retries are idempotent.+- Login rate limits keyed by real client IP behind proxies; client IP resolved at the socket.+- Domain routing restricted to authorized admins (#147).+- Proxy consented remote email images on Workers (#148).+- MX conflict is confirmed and retried when adding a domain.+- Conversation unread state and counts (#135); draft attachments, duplicate drafts and past send times (#134).+- Reply goes to the Reply-To address (#122); own-alias senders kept as manual recipients (#145).+- JMAP: RFC 6901 pointer unescaping (#162), batched id lookups (#157), unknown IETF capabilities ignored (#155).+- Shortcuts no longer fire on Cmd/Ctrl/Alt combos (#161).+- Import: IMAP CPU limit and read state (#179); kept messages when contact update fails (#183).+- Backups list drive and web-push tables (#168).+- Autosave no longer invalidates AI draft review; Workers AI streams no longer repeat text (#120); insert-link popup no longer submits the form (#141).+- Password reset email sent in the user's language (#136).+- Self-hosted update guidance (#107).++## Changed++- Migrated to Vite+ (#121).+- Second round of accessibility fixes (#131); routing rule controls named (#129).+- Every schema change now requires migrations for all dialects.diff --git a/changelog/0.5.4.md b/changelog/0.5.4.mdnew file mode 100644index 0000000..4e70e70--- /dev/null+++ b/changelog/0.5.4.md@@ -0,0 +1,33 @@+# 0.5.4 — 2026-10-30++Security hardening release (inbound mail, email rendering, webhooks, AI/MCP automation).++## Security++- **Inbound** (#214–#217, #219): bounded text-line floods and preflighted every `parseRawMime` caller; capped stored inbound fields without splitting surrogate pairs; orphaned raw MIME deleted and swept daily.+- **SMTP** (#215): hardened self-hosted ingress, verifies SPF/DKIM/DMARC, refuses unknown recipient domains, counts only admitted sessions against limits.+- **Authentication** (#216): spam engine enforces auth policy; a header-forged pass can no longer hide a real failure.+- **Email rendering** (#220, #221): compose link XSS and frameset crash fixed; popover and command invoker attributes forbidden; no-referrer on area links; `unsafe-eval` dropped from the production CSP and COOP added; remote content defaults to ask; image proxy rejects wildcard-DNS and private hosts, resolve-checks, rate limits and runs on Node; remote fonts dropped; no Gravatar lookup for spam/trash senders.+- **Attachments and files** (#218, #222): dangerous attachments flagged and download gated; filenames and `Content-Disposition` hardened and capped; shared-file links tied to message state; downloads served as octet-stream.+- **Threading and contacts** (#223): forged `In-Reply-To`/`Message-ID` can't inject into threads; inbound mail can't rename contacts, forge read state or notify from trash; push notifications show the real sender address; the forwarded loop-guard marker is signed.+- **Webhooks and providers** (#224): targets constrained and hosts resolved, private addresses refused; spam/trash dispatch skipped; SNS signatures verified with replay rejection; relay header map signed with a timestamp; Resend header map bounded; RDAP and URLhaus kept to public https hosts.+- **AI / MCP** (#225): automation constrained against injected mail; in-app approval for assistant calendar edits and deletes; send review flags AI origin and unfamiliar recipients; MCP results marked untrusted and tool calls audited.++## Added++- Sender details and authentication warnings in the message view (#228).+- Event reminder push notifications (#119).+- Inbox details in account settings; installation prompt.+- Resume for failed imports.++## Improved++- Send toast actions, message navigation and live updates; composer fills its container; profile image loading; PWA icons.++## Fixed++- Message selection and keeping the focused message visible (#229).+- Per-message sender display names kept (#226).+- Account administrators can edit mailbox settings; managed-account authorization applied to mailbox lists.+- Skip-DNS domains activate once receiving is set up.+- `npm ci` on npm 10 (vite-plus nested `@types/node` entries).diff --git a/changelog/README.md b/changelog/README.mdnew file mode 100644index 0000000..445c323--- /dev/null+++ b/changelog/README.md@@ -0,0 +1,18 @@+# Changelog++One file per version, newest first. Dates are the day `package.json` was bumped to that version.++| Version | Date | Highlights |+| --- | --- | --- |+| [0.5.4](0.5.4.md) | 2026-10-30 | Inbound/rendering/webhook/AI security hardening, sender details |+| [0.5.3](0.5.3.md) | 2026-10-28 | PostgreSQL/MySQL/libSQL, background imports, read receipts, follow-ups, mobile push |+| [0.5.2](0.5.2.md) | 2026-10-11 | Accessibility and usability fixes |+| [0.5.1](0.5.1.md) | 2026-10-10 | 14+ languages, Drive, S3/B2 storage, PWA and Web Push |+| [0.5.0](0.5.0.md) | 2026-10-03 | Resend and AWS SES |+| [0.4.1](0.4.1.md) | 2026-10-03 | Multiple accounts, dark mode, bookings |+| [0.4.0](0.4.0.md) | 2026-09-28 | Calendar, vinext runtime |+| [0.3.0](0.3.0.md) | 2026-09-27 | MCP / Agent, original view, bot rules |+| [0.2.1](0.2.1.md) | 2026-09-18 | Threading, routing, JMAP, search, MFA, Docker |+| [0.2.0](0.2.0.md) | 2026-08-27 | Profile pictures, updater and backup fixes |+| [0.1.11](0.1.11.md) | 2026-06-18 | UI and docs polish |+| [0.1.0](0.1.0.md) | 2026-05-26 | Initial release |