Fix missing to on reassign MR email to unassigned.

Factors out MR and issue email.
Merge pull request #7661 from cirosantilli/factor-issue-mr-email

Fix missing to on reassign Merge Request email to unassigned.