<commit_before>from gmail import GMail, Message
import json
import os

def dispatch_email_via_gmail(msg):
    config = json.load(open(os.path.join(os.getcwd(), "config.json")))
    gmail = GMail(config['mailFrom'], config['mailPassword'])
    msg = Message("Latest News From Find Me Jeans", to=config['mailTo'], text=msg)
    gmail.send(msg)<commit_msg>fixed issue with paths<commit_after>from gmail import GMail, Message
import json
import os

def dispatch_email_via_gmail(msg):
    config = json.load(open(os.path.join(os.path.dirname(__file__), "config.json")))
    gmail = GMail(config['mailFrom'], config['mailPassword'])
    msg = Message("Latest News From Find Me Jeans", to=config['mailTo'], text=msg)
    gmail.send(msg)
{'fraction_non_alphanumeric': 0.1440329218106996, 'fraction_numerical': 0.0, 'mean_word_length': 5.697247706422019, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '3541099', 'n_tokens_mistral': 239, 'n_tokens_neox': 233, 'n_words': 56}