Mark done directly from email notifications

Description

Most of the time, my flow is like this:

  1. I'm mentioned in an issue
  2. I receive a notification email
  3. I click on the link to reach the issue in GitLab
  4. I answer/comment

But since I'm also indirectly mentioned in many issues, because I want to be always updated on relevant things, many times I don't need to take an action, just read the comment.

But here is the fact: if I don't go to the issue in the UI, it will stay in my TODOs even if I already "managed" it. If I go to the UI, this is the flow:

  1. I'm mentioned in an issue
  2. I receive a notification email
  3. I click on the link to reach the issue in GitLab
  4. I wait for the page to load (unfortunately a few seconds)
  5. I click Mark done
  6. I close the browser tab

Proposal

It would be awesome to mark as done directly from the notification email, in a similar way you can accept/decline a Google Calendar invite directly from the email.

So my flow can be like this:

  1. I'm mentioned in an issue
  2. I receive a notification email
  3. I click to mark it done directly in the email