nextcloud / nextcloud/mail

Show all mails of a contact

Open
#10,604 1 comment 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

1. to develop enhancement
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.

In short: We can find a contact in milliseconds in the Contact app, but the contact's emails are sometimes almost impossible to find with a lot of email traffic and large mailboxes and many subfolders.

Describe the solution you'd like

It would be extremely helpful if we could search for a contact who is stored in the contacts app and display ALL emails from this contact across all mailboxes and subfolders.

I would like to find all emails by searching via the desired contact. In other words, if the contact I am looking for is in the “from” or “to” address line (to, cc, or bcc (if possible)). Theoretically, this could also be integrated into the Contact App so that I can access all of the contact's emails via a link in the contact app, for example.

Why would that be so incredibly helpful?
I have about 7 mailboxes for my business and numerous folders and subfolders to keep things organized. Some contacts write to me at different email addresses and these are stored in different mailboxes and folders and nested subfolders. Although I have a good organization, it can often happen that you can hardly find emails from certain contacts.

Describe alternatives you've considered
  • The normal mail search works rather poorly for me and I can't get it set to simply search all emails from a contact, no matter which mailbox or folder it is stored in, as long as it is stored in a mailbox in the Nextcloud Mail app.
  • For example. I select "All Mailboxes" and in the search parameters i search in the "from" field for my desired contact. Click on search. No results. It only works (sometimes), if i get alreaedy the correct folder or subfolder selected and make a search. But there is the crux, I don't know the correct folder or subfolder (or mailbox sometimes).
  • The nextcloud side wide search bar show me also no email-results, if I search for a contact.
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 with the existing normal mail search, especially the “All Mailboxes” scope, and compare it with the Nextcloud-wide search bar. Review how the Contact App could link to mail, then define the mailbox, folder, recipient-field, and multiple-address behavior. Done means a contact search reliably shows matching emails across the requested mailboxes and subfolders.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, php
Domain
backend, frontend, search
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.