Mailjet(Send API) + Netcup (Mail)
All mails sent to MySQL → Mailjet Mail addresses by Netcup
→ proceed to step 5.
→ go back to step 3.
#normal print #only see in "gunicorn -w 4 'app:app'" or simalar #only temp. for debug - remove after coding session print("") #print via telegram #common #in feedback_helper.py #use: from feedback_helper import write_output write_output(*args)
Newsletter will in any time org. extern
#via mailgun # to do: Python Intreation + Call
#init from mixpanel import Mixpanel from config import MIXPANEL_PRO_KEY, MIXPANEL_RETRY_LIMIT mp = Mixpanel(MIXPANEL_PRO_KEY, MIXPANEL_RETRY_LIMIT) #use: #https://docs.mixpanel.com/docs/tracking-methods/sdks/python #in json can be all free use mp.track('USER_ID', 'some_event', { 'plan': 'premium' })
#in ai_handler.py #init from ai_handler import deepseek_prompt_to_text from ai_handler import chatgpt_promt_to_text #use res_text_only = deepseek_prompt_to_text(promt) res_text_only = chatgpt_promt_to_text(promt)