Account (IMAP/SMTP) level folder/category/group structure

Open
#387 2 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
65/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Quiet
Tech stack
html, javascript
Domain
frontend

Research direction

Locate the account list component in the sidebar and the sender dropdown in the mail composer. Implement a grouping system for accounts with collapsible folders showing unread counts, and update the sender dropdown to use <optgroup> elements for groups. Verify the UI by creating groups, moving accounts, and checking unread count aggregation.

Written by the indexing model from the issue text.

Description

enhancement future consideration

Is your feature request related to a problem? Please describe.
Currently, I'm testing MailFlow and have so far added 20+ IMAP/SMTP accounts, more to be added. The account list in the left menubar starts to get really big and feels quite "unmanageable", even thought there are the options to sort the order of the accounts / add favourite folders. Also, same issue exists with the sender dropdown when composing mail.

Describe the solution you'd like
I would love an account-level folder/category/group structure to keep accounts cleanly organized. For example, I personally like to group my accounts based on domain, so one option for my situation would be the ability to just create folders (folder name = domain) in the sidebar/settings, where you could then move/drag the accounts into. These folders would then be collapsible in the accounts sidebar, and in sender dropdown these groups could be shown as <optgroup> instead of just showing flat <option> list of possible senders (which actually looks more "messy" than the sidebar accounts list, as the sender name can be something totally different than the display name). Also would be amazing if the folders could also show the number of unread messages when there are any, no matter if the folder is closed or expanded.

Describe alternatives you've considered
I tested the favourites and enabling "categories", but these were not meant for what I'm after.

Dominant language
JavaScript
Stars
518
Forks
50
Avg merge
4d 45m
Merged PRs (30d)
43

Getting set up

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.

More from maathimself/mailflow

All issues in maathimself/mailflow

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.