Add end-to-end test for custom email
What does this MR do?
Closes gitlab-org/quality/testcases#84 (closed).
More details in the commit messages.
Backport MR: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/32451.
Does this MR meet the acceptance criteria?
Conformity
Edited by Walmyr Lima e Silva Filho