Skip to content

docs: add sent mail detection pattern to DEVELOPMENT.md#254

Merged
hoiekim merged 1 commit intohoiekim:mainfrom
moltboie:docs/development-sent-detection-pattern
Mar 24, 2026
Merged

docs: add sent mail detection pattern to DEVELOPMENT.md#254
hoiekim merged 1 commit intohoiekim:mainfrom
moltboie:docs/development-sent-detection-pattern

Conversation

@moltboie
Copy link
Copy Markdown
Contributor

Changes

Documents the address-based sent mail detection pattern introduced in PR #199.

What's documented

  • How sent vs received mail is determined (address matching, not boolean flag)
  • Self-email handling (one row, both views)
  • Key functions involved (getMailHeaders, getAccountStats)
  • Note about IMAP layer still using legacy sent column

Context

PR #199 was a significant architectural change — shifting from a sent boolean column to address-based filtering. This affects how new features should query mail data and is important for anyone working on the IMAP layer.

E2E Testing

Documentation-only change. Verified DEVELOPMENT.md renders correctly.

@moltboie
Copy link
Copy Markdown
Contributor Author

Self-Review

Discussion thread status:

  • New PR, no prior feedback. Docs-only change for DEVELOPMENT.md.

Checked:

Issues found:

  • None.

Confidence: High

@moltboie moltboie force-pushed the docs/development-sent-detection-pattern branch from 6d8dedc to 4a3c62c Compare March 21, 2026 16:40
@hoiekim hoiekim merged commit 1d847a2 into hoiekim:main Mar 24, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants