Auto Classification sometimes classifies "Junk" mails as important
Open
Nobody has claimed this yet.
1. to develop
bug
feature:tags
nextcloud-gmbh
- Dominant language
- JavaScript
- Stars
- 1k
- Forks
- 348
- Avg merge
- 12h 28m
- Merged PRs (30d)
- 91
Description
Steps to reproduce
- Have classification on
- Have mail account also open in Thunderbird
- Tag Junk in Thunderbird
- At some point, there will be messages marked as junk and important
(Kind of hard to reproduce reliably)
Expected behavior
The auto classification should ignore any message that is marked "Junk" / "Spam"
Actual behavior
The auto classification doesn't check for the "Junk" / "Spam" flag and classifies it as important anyway.
Mail app version
1.11.6
Mailserver or service
no info
Operating system
no info
PHP engine version
PHP 8.0
Web server
Apache (supported)
Database
MySQL
Additional info
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source file or test is named. Start by tracing the auto-classification entry point and how message Junk/Spam flags are represented, then follow the reproduction steps with classification enabled. Done means messages marked Junk or Spam are excluded from being classified as important, with coverage for that behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100