#2294 Use List-Id header in notification e-mails
Closed: Fixed 6 years ago Opened 6 years ago by pbabinca.

I'd love to filter notifications to issues and pull requests I'm subscribed to by project name. Until now I've used mail headers (X-pagure and X-pagure-project). After switch to Gmail I cannot easily use them anymore. Gmail has support for Lists though so I'm wondering if mail header List-ID (RFC 2919) can be used for these e-mails.

I guess it can be implemented as easily as merging those two headers into single value of List-Id header.

Btw. GitHub uses this (and more) mailing list headers in its notification e-mails. E.g.:

Precedence: list
X-GitHub-Sender: lcarva
X-GitHub-Recipient: pbabinca
X-GitHub-Reason: mention
List-ID: projectatomic/osbs-client <osbs-client.projectatomic.github.com>
List-Archive: https://github.com/projectatomic/osbs-client
List-Post: <mailto:reply+0026cf9ea4dc31a8139c8dfb7e2c479491e5e2fd3b94b9e992cf000000011505f4ea92a169ce0570f05c@reply.github.com>
List-Unsubscribe: <mailto:unsub+0026cf9ea4dc31a8139c8dfb7e2c479491e5e2fd3b94b9e992cf000000011505f4ea92a169ce0570f05c@reply.github.com>, <https://github.com/notifications/unsubscribe/ACbPnnr0v83p1r1uW18XehyHhXYEWEtDks5rvNjqgaJpZM4FMywP>
X-Auto-Response-Suppress: All
X-GitHub-Recipient-Address: pbabinca@redhat.com

Or Gerrit:

X-Gerrit-MessageType: merged
List-Id: <gerrit-rcm-rhpkg.code.engineering.redhat.com>
List-Unsubscribe: <https://code.engineering.redhat.com/gerrit/settings>

Metadata Update from @pingou:
- Issue tagged with: RFE, easyfix

6 years ago

Metadata Update from @pingou:
- Issue assigned to pingou

6 years ago

Login to comment on this ticket.

Metadata