Fix index bug in the email (#27353)
Fix index bug in the email (#27353)

* Fix indexing bug in the email.
arbrandes/edx-platform,edx/edx-platform,eduNEXT/edx-platform,arbrandes/edx-platform,edx/edx-platform,angelapper/edx-platform,eduNEXT/edx-platform,arbrandes/edx-platform,edx/edx-platform,eduNEXT/edx-platform,angelapper/edx-platform,eduNEXT/edx-platform,angelapper/edx-platform,arbrandes/edx-platform,edx/edx-platform,angelapper/edx-platform