Skip to content

feat: optional --user, send/fetch config defaults, CodeQL fixes, v8.0.3 - #29

Merged
KHolodilin merged 2 commits into
mainfrom
feature/issue-7-password-user-optional
Jan 25, 2026
Merged

feat: optional --user, send/fetch config defaults, CodeQL fixes, v8.0.3#29
KHolodilin merged 2 commits into
mainfrom
feature/issue-7-password-user-optional

Conversation

@KHolodilin

Copy link
Copy Markdown
Owner

Description

  • password: --user optional for password set / password clear; fallback to imap.user from config.
  • send folder: dir and --to optional; fallback to smtp.send_folder and smtp.default_recipient.
  • send: python -m email_processor send (no subcommand) defaults to send folder with config.
  • README: Quick Start (install, Fetch, Send, Send folder, Full pipeline); fetch/send use config by default; Features block removed.
  • CodeQL: URL substring sanitization, workflow permissions, redact_email for logs.
  • chore: Bump version to 8.0.3.

Closes #27

Type of Change

  • New feature (non-breaking change which adds functionality)
  • Bug fix (non-breaking change which fixes an issue)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update
  • Code refactoring
  • Performance improvement
  • Test addition or update
  • Other (please describe):

Related Issue

Closes #27

Changes Made

  • args: --user optional (password set/clear); dir/--to optional (send folder).
  • main: user/folder/to from config when omitted; send without subcommand → send folder.
  • README: Quick Start, Usage updates; fetch/send config defaults.
  • CodeQL: test_client substring fix, workflow permissions, redact_email in auth/smtp/fetcher.
  • Version: 8.0.3 in __version__.py and pyproject.toml.

Testing

  • All existing tests pass (731 passed, 32 skipped)
  • New tests added for new functionality
  • Manual testing performed (if applicable)
  • Test coverage maintained or improved

Checklist

  • My code follows the project's style guidelines
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have updated the documentation accordingly
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published
  • Pre-commit hooks pass (pre-commit run --all-files)
  • Code formatting passes (ruff format --check .)
  • Linting passes (ruff check .)

Additional Notes

  • fetch and send use config by default.
  • send = send from folder (config).

@codecov-commenter

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@KHolodilin
KHolodilin merged commit ef09e60 into main Jan 25, 2026
18 checks passed
@KHolodilin
KHolodilin deleted the feature/issue-7-password-user-optional branch January 25, 2026 17:31
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.

feat: make --user optional in password set/clear, use imap.user from config

2 participants