Issue an email notification to the configured email recipient about a
newly-initiated refund request.
This function does not do any exception handling; callers are responsible
for capturing and recovering from any errors.
"""
ifmicrosite.is_request_in_microsite():
# this is not presently supported with the external service.
raiseNotImplementedError("Unable to send refund processing emails to microsite teams.")
for_user=course_enrollment.user
subject=_("[Refund] User-Requested Refund")
message=_(
"A refund request has been initiated for {username} ({email}). To process this request, please visit the link(s) below."# pylint: disable=line-too-long