maybe you can create a private helper method _getMailTemplateKey(), and use it both here and below. It's not just to avoid code duplication, but to centralize the email templates key, so if we need to change it later we have to do just in one place.