<commit_before>from django.core.mail import EmailMessage, send_mail
import logging


def send_redirect_report(bad_redirects):
    msg = 'The Openstax Redirect Report has been run'
    msg += '\n\nShort Code,Redirect URL'
    msg += '\n' + str(bad_redirects)

    subject = 'OpenStax Redirect Report'
    from_address = '<EMAIL>'
    to_address = ['<EMAIL>', ]

    try:
        email = EmailMessage(subject,
                             msg,
                             from_address,
                             to_address)<commit_msg>Update email address for redirect report (#740)<commit_after>from django.core.mail import EmailMessage, send_mail
import logging


def send_redirect_report(bad_redirects):
    msg = 'The Openstax Redirect Report has been run'
    msg += '\n\nShort Code,Redirect URL'
    msg += '\n' + str(bad_redirects)

    subject = 'OpenStax Redirect Report'
    from_address = '<EMAIL>'
    to_address = ['<EMAIL>', ]

    try:
        email = EmailMessage(subject,
                             msg,
                             from_address,
                             to_address)
{'fraction_non_alphanumeric': 0.09296028880866426, 'fraction_numerical': 0.002707581227436823, 'mean_word_length': 2.0550964187327825, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5958134', 'n_tokens_mistral': 316, 'n_tokens_neox': 306, 'n_words': 81}