-
Notifications
You must be signed in to change notification settings - Fork 262
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: classify emails by importance based on subjects #10277
feat: classify emails by importance based on subjects #10277
Conversation
This comment was marked as resolved.
This comment was marked as resolved.
ebbed72
to
21d45eb
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
First impression: looks good 😎
lib/Service/Classification/FeatureExtraction/SubjectExtractor.php
Outdated
Show resolved
Hide resolved
lib/Service/Classification/FeatureExtraction/SubjectExtractor.php
Outdated
Show resolved
Hide resolved
lib/Service/Classification/FeatureExtraction/SubjectExtractor.php
Outdated
Show resolved
Hide resolved
lib/Service/Classification/FeatureExtraction/SubjectExtractor.php
Outdated
Show resolved
Hide resolved
I'll observe my account for a while. So far the stats are (suspiciously) excellent:
|
a7ea9c0
to
f4fc5bc
Compare
I will keep an eye on the classification ;) However, I haven't cleaned my inbox in a while and fear the countless undeleted "update xyz announcements" or "calendar notifications" might influence the model 🙈 |
mail/lib/Service/Classification/ImportanceClassifier.php Lines 157 to 159 in e2215d9
|
f4fc5bc
to
9371b00
Compare
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
9371b00
to
1907ebc
Compare
This might be a good follow-up. Currently, all incoming mailboxes, that have no special use (trash etc.) are considered. I think the reasoning goes that it should also work for users who archive a lot of emails because their inboxes would be (almost) empty most of the time.
Currently, only the pseudo-standardized important tag is considered. In Thunderbird it is a bit akward to set it. Right click an email -> Tag -> Click on the first one (by default: red, "Important"). The starred flag is actually a standardized IMAP keyword ( |
Partly addresses #3968
Closes #8257
Part 5: The great rebasing ...
Improvements
oc_mail_classifiers
tableHow to tests?
occ mail:account:train -vvv <account-id>
(extract account id withocc mail:account:export <user-id>
)