nextcloud / nextcloud/mail

Suggest senders from database cache and drop address collector

Open
#12,918 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

1. to develop enhancement technical debt
Dominant language
JavaScript
Stars
1k
Forks
348
Avg merge
12h 28m
Merged PRs (30d)
91

Description

Is your feature request related to a problem? Please describe.

There is an opt-out feature to "collect data locally". It tracks senders when an email is sent from Mail, to later suggest it for the recipient autoselection.

Describe the solution you'd like

Query matching recipients from the oc_mail_recipients table by joining messages and mailboxes tables for the user's Sent mailbox.

All data is there. It also works across email clients (which collected addresses doesn't).

Describe alternatives you've considered

N/a

Additional context

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the code for recipient autoselection and the local sender collector, then inspect how oc_mail_recipients, messages, and mailboxes are related. Verify the Sent mailbox filtering and compare the result with the existing collection behavior; done means matching recipients are suggested from the database across email clients without relying on the collector.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, sql
Domain
backend, databases
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.