nextcloud / nextcloud/mail

Enforce dark theme for received rich text (html) e-mails

Open
#12,359 1 comment 1 reaction 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.

Plain text emails display correctly with the dark theme (dark background and white text), but rich text emails do not... and it hurts eyes.

Plain text e-mail Rich text e-mail
Image Image

I suggest adding a display setting that forces a light or dark background for rich emails, regardless of the overall theme, as already exists in Collabora Online:

Collabora with light background Collabora with dark background
Image Image
Describe the solution you'd like

No response

Describe alternatives you've considered

No response

Additional context

No response

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

The issue names no files, tests, or entry points. Start by locating the received rich-text (HTML) email renderer and the existing dark-theme handling for plain-text messages, then clarify the proposed light/dark display setting. Done should mean rich-text emails render with the selected background and readable text in both themes.

Written by the indexing model from the issue text.

Assessment

Tech stack
html
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.