The footer currently always reads "You're receiving this notification because you are a member of the GitLab.org / GitLab Community Edition project team.", while this is not the case for the majority of people contributing to GitLab CE who are simply participating in the specific issue or merge request the notification is sent out for.
Designs
Child items
...
Show closed items
Linked items
0
Link issues together to show that they're related or that one is blocking others.
Learn more.
I spent about 5m trying to figure out why I was getting an email about being a member of a group I didn't belong to, when the issue was that a teammate of mine @group'd a group I was apart of that caused me to be attached to the issue but not the group.
It would be nice if the email stated I am receiving this email because someone @group'd me instead of receiving this email because I'm apart of a group I don't belong to.
I looked at the code and it looks like this may be a problem for other types of emails sent from the notification service as well. The recipients come from many streams (subscribers, project watchers, mentions, etc) and the fix would involve keeping track of where a recipient came from / passing it to each mailer template.
Let's combine it:
"You're receiving this notification because you have an account on gitlab.example.com and contributed/subscribed to this project/thread"
Let's use GitLab vernacular and go with "participated" rather than "contributed" :) "thread" could be replaced by "discussion". Note that this still doesn't cover the case where the recipient is the assignee.
@JobV The sentence was removed entirely in gitlab-foss!1409 (merged). I think this is good enough, we don't need to mention the actual reason, in most cases the user will know that themselves anyway, or be able to figure it out quickly. Agree that we can close this issue?
We have problems with our email being marked as SPAM. I expect every automated email to inform me why I'm receiving it. Some people might not have used GitLab for 2 years or their account might be automatically created.
I think we should have a message, but it should be generic enough so that it works in every case.
"You receive this email because of you account on HOSTNAME. To receive less emails please adjust your notification settings."