Repository navigation
Release busabase-email-sdk 0.1.1 - #102
Merged
Merged
Conversation
- Bounce notices carry `bounce.recipients` and `bounce.originalMessageId`, read from the RFC 3464 report, X-Failed-Recipients, or the attached original message. Tencent Exmail sends no report and no thread headers, only an HTML notice with the original attached, so such notices were never matched; they now match the outgoing message and are recorded against the failed recipient instead of postmaster or mailer-daemon. - A report in which no recipient failed, or a notice without a report that cites only temporary 4xx SMTP codes, is classified auto-reply, so an address that is still being retried is not marked undeliverable. - readImapReplies downloads in UID FETCH chunks of 25 and accepts `download: "matched"`: headers first, the full message only when the headers match the watch or the message looks like a bounce. syncImapReplies uses it. On a real 596-message inbox: 701 s before, 163 s after, identical results. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Releases
busabase-email-sdk0.1.1. Onlypackages/busabase-email-sdkchanges; no other package or version moves.What changes
bounce.recipients(the addresses that failed) andbounce.originalMessageId, read from the RFC 3464 report,X-Failed-Recipients, or the attached original message. Tencent Exmail sends no report and no thread headers, only an HTML notice with the original attached asmail.eml, so 0.1.0 never matched those. The Busabase store records a bounce'scontactas the failed recipient instead ofpostmaster@/mailer-daemon@.auto-reply. A notice citing no code at all stays a bounce.readImapRepliesfetches in UID FETCH chunks of 25 and acceptsdownload: "matched": headers first, then the full message only when the headers match the watch or the message looks like a bounce.syncImapRepliesuses it; the default forreadImapRepliesstays"all".Verification
.github/scripts/check-email-package.mjspass on this branch; whole-repobiome check .passes.download: "matched", identical per-message results. A reply-check script built on the SDK read about 2,200 messages in 381 s instead of 2,598 s and found the same reply.🤖 Generated with Claude Code