You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Keep readable Outlook messages importable when date metadata is missing #974
A readable Outlook MSG can fail to import because an optional creation, modification or source date is absent. Simple Java Mail 9.3.9 reads these values through outlook-message-parser 1.16.2, whose date getters clone null fields. The preferred sent-date expression also evaluates its fallback even when client-submit time is available.
// The message has readable content but no last-modification timestamp.Emailemail = mail.converter()
.fromOutlookMsg(Path.of("message.msg"))
.toEmail();
Keep the readable body, recipients, attachments and source metadata available. Missing dates should remain absent, and client-submit time should remain the first sent-date choice. Select the existing source-date fallback only when needed, and fix the Email date only when a date is available. Do not fabricate timestamps or catch arbitrary NullPointerExceptions.
The null-safe getters belong in outlook-message-parser; Simple Java Mail should consume that correction and preserve the existing Date snapshot ownership. This follows ADR 0035, ADR 0036 and ADR 0041.
The maintainer accepted this correction on 8 November 2026 for the 10.0.0 development branch. It is separate from #326's historical handling of completely empty nested Outlook messages and from missing client-submit extraction in outlook-message-parser#87.
Missing date metadata now stays absent while readable bodies, recipients, attachments and source information remain available. The Email sent date still prefers client-submit time, then the existing Outlook source-date fallback; it stays unfixed when neither exists. Present Date values remain defensive copies.
Activity
chore(maintenance): register Outlook and daemon review custody (#974, #…
docs(outlook): explain optional imported dates (#974)
fix(outlook): retain mail with absent date metadata (#974)
fix(outlook): consume null-safe parser date getters (#974)
docs(website): align optional Outlook date guidance (#974)
bbottema commentedon Nov 8, 2026
Missing date metadata now stays absent while readable bodies, recipients, attachments and source information remain available. The Email sent date still prefers client-submit time, then the existing Outlook source-date fallback; it stays unfixed when neither exists. Present Date values remain defensive copies.
Delivered for the 10.0.0 development branch in the date-handling change and the parser dependency update, with conversion and migration guidance. The null-safe reader is available in outlook-message-parser 1.16.3.
This follows ADR 0035, ADR 0036 and ADR 0041.
chore(maintenance): retain completed review retirement paths (#974, #975