yogibook_aury_new/public/yogasoulscript/README-ISTRUZIONI.txt

37 lines
1.9 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

YogaSoul Autoresponder — Istruzioni rapide
COS'È
- Crea BOZZE di risposta (non invia) per le ultime X email NON LETTE in INBOX.
- Le bozze vengono salvate nella cartella Drafts/Bozze dellaccount IMAP, in thread (In-Reply-To/References) con citazione del messaggio originale.
FILE NELLA CARTELLA
- yogasoul_autoresponder.exe (oppure: email_autoresponder_yogasoul.py se lo usi con Python)
- config.json (credenziali e impostazioni)
- prompt_template.txt (testo/tono della risposta: modificabile liberamente)
- yogasoul_knowledge_base.json (dati corsi, link, ecc.)
COME SI USA (Windows, senza Python)
1) Apri la cartella “YogaSoul Autoresponder”.
2) Modifica `config.json` con:
- imap_server, email_address, email_password
- openai_api_key
- max_to_process (es. 5), throttle_seconds (es. 1.5)
3) (Opz.) Modifica `prompt_template.txt` e/o `yogasoul_knowledge_base.json`.
4) Doppio click su `yogasoul_autoresponder.exe` (oppure su `run_autoresponder.bat` se fornito).
5) Controlla in Posta le BOZZE: dovresti vedere una bozza per ogni email non letta (fino a max_to_process).
IMPOSTAZIONI UTILI (config.json)
- "max_to_process": quante email non lette processare (consigliato 5).
- "throttle_seconds": pausa tra le richieste (consigliato 12s).
- "mark_as_seen": true per segnare come lette dopo la bozza (false per lasciarle non lette).
- "preferred_draft_folder": cartella locale alternativa se il server non ha Drafts.
TROUBLESHOOTING
- Nessuna bozza: verifica credenziali IMAP/API in config.json; verifica che ci siano email UNSEEN.
- Bozze “schiacciate”: il programma converte in HTML con <p>/<br>; se serve, modifica il prompt.
- Rate limit/blocchi: alza "throttle_seconds" (es. 1.52.0) e tieni "max_to_process" basso (5).
- Cartella bozze: il programma cerca \Drafts; in fallback crea INBOX.BozzaRisposte.
SICUREZZA
- `config.json` contiene password in chiaro: conserva la cartella su un PC/utente fidato.