Emails in junk folder not marked as spam
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1k
- Forks
- 348
- Avg merge
- 12h 28m
- Merged PRs (30d)
- 91
Description
Steps to reproduce
Steps to reproduce
Select mail in junk folder
"Mark not spam" action is not available
To be able to mark the message as "not spam" the user needs to mark it as spam (but why then the message is in the junk folder???) and then use the button to mark it as not spam
Expected behavior
The action to "Mark not spam" should be directly available for all messages (automatically) moved to the junk folder
Actual behavior
Users needs to mark messages in the junk folder as spam to be able to mark them as not spam
Mail app version
5.0.6
Nextcloud version
31.0.4
Mailserver or service
Own mail server
Operating system
Irrelevant
PHP engine version
PHP 8.2
Nextcloud memory caching
redis
Web server
Nginx
Database
MariaDB
Additional info
I would expect that if a message was moved in the junk folder it must be classified as spam. To mark as not spam messages erroneously put in the junk folder, I need first to mark them as spam (again?) and the mark them as not spam.
Expected behavior
Messages in the junk folder (not actually moved there manually by the user) should present the action "Mark not spam".
Actual behavior
To mark as not spam messages erroneously put in the junk folder, I need first to mark them as spam (again?) and the mark them as not spam.
Mail app version
No response
Nextcloud version
No response
Mailserver or service
No response
Operating system
No response
PHP engine version
None
Nextcloud memory caching
No response
Web server
None
Database
None
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
Reproduce the behavior in the Nextcloud Mail app by selecting a message automatically placed in the junk folder and checking the available actions. Trace how junk-folder messages are classified and how the “Mark not spam” action is exposed; done means eligible junk-folder messages offer that action directly without first marking them as spam.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, php
- Domain
- backend, frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100