thunderbird / thunderbird/thunderbird-android

Support for forwarding services headers

Open
#5,757 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

type: enhancement
Dominant language
Kotlin
Stars
14k
Forks
2.8k
Avg merge
3d 3h
Merged PRs (30d)
57

Description

Is your feature request related to a problem? Please describe.
I use SimpleLogin, which helps me more easily create one email alias per service. Because of this, my emails all look like they come from email addresses like reply+iwehobhuhuoeahfewouhb@simplelogin.co instead of the forwarded address.

Describe the solution you'd like
SimpleLogin adds several headers to each email, allowing you to see the original sender:

https://github.com/simple-login/app/blob/ee0ed7d9ec822bcd5355c0d61930aa0f1ddccdb0/app/email/headers.py#L27-L30

For example:

X-SimpleLogin-Envelope-From: noreply@github.com
X-SimpleLogin-Envelope-To: my_alias@example.com

It would be great if K-9 Mail could use these headers to display the from and to address that the emails are forwarded from.

Describe alternatives you've considered
Another option would be perhaps to talk to the SimpleLogin app, but this seems more complex and also harder to extend to other forwarding services like AnonAddy.

Additional context
This should probably be something the user should enable manually (something like Email -> Forwarding Service -> SimpleLogin), to prevent malicious emails using such headers to spoof.

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 reviewing the SimpleLogin reference at app/email/headers.py lines 27-30 to understand the forwarding headers and compare the proposal with AnonAddy. Then trace K-9 Mail's message-address display and account settings entry points. Done means configured forwarding services can show the forwarded sender and recipient without treating untrusted headers as authoritative by default.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.