Reply by email
GitLab can be set up to allow users to comment on issues and merge requests by replying to notification emails.
Requirement
Make sure incoming email is set up.
How it works?
1. GitLab sends a notification email
When GitLab sends a notification and Reply by email is enabled, the Reply-To
header is set to the address defined in your GitLab configuration, with the
%{key}
placeholder (if present) replaced by a specific “reply key”. In
addition, this “reply key” is also added to the References
header.
2. You reply to the notification email
When you reply to the notification email, your email client will:
- send the email to the
Reply-To
address it got from the notification email - set the
In-Reply-To
header to the value of theMessage-ID
header from the notification email - set the
References
header to the value of theMessage-ID
plus the value of the notification email’sReferences
header.
3. GitLab receives your reply to the notification email
When GitLab receives your reply, it will look for the “reply key” in the following headers, in this order:
- the
To
header - the
References
header
If it finds a reply key, it will be able to leave your reply as a comment on the entity the notification was about (issue, merge request, commit…).
For more details about the Message-ID
, In-Reply-To
, and References headers
,
please consult RFC 5322.
Help and feedback
If there's something you don't like about this feature
To propose functionality that GitLab does not yet offer
To further help GitLab in shaping new features
If you didn't find what you were looking for
If you want help with something very specific to your use case, and can use some community support
POST ON GITLAB FORUM
If you have problems setting up or using this feature (depending on your GitLab subscription)
REQUEST SUPPORT
To view all GitLab tiers and features or to upgrade
If you want to try all features available in GitLab.com
If you want to try all features available in GitLab self-managed
If you spot an error or a need for improvement and would like to fix it yourself in a merge request
EDIT THIS PAGE
If you would like to suggest an improvement to this doc