wyona / katie-backend

Katie Backend
https://katie.qa
Apache License 2.0
26 stars 1 forks source link

E-Mail documentation clarification #33

Open colin-r-carter opened 1 month ago

colin-r-carter commented 1 month ago

For the functionality of e-mail answering (Incoming Mail Configuration) in the settings, the documentation ist not very clear at the moment. The setting page implies, that Katie will answer automatically and the documentation (src/main/webapp/email-integration.html) does not really clarify what happens after Katie has analyzed the e-mails content.

What is Katie doing once the e-mail has been analyzed? Probbaly human review is still needed, as the saved answers might not exactly fit the asked question.

michaelwechner commented 1 month ago

Thanks for asking for clarification!

Katie does not just analyze emails, but actually answer them, whereas if the moderation flag (see domain settings) is on, then Katie will not directly answer, but only when the moderator approves the answer, whereas I need to double-check :-)

Currently the overall process needs to be triggered manually using the following endpoint

https://app.katie.qa/swagger-ui/#/email-controller/processEmailsUsingGET

whereas one can trigger it on a regular basis using Postman or something similar.

We can eventually implement a scheduler, such that Katie itself is continuously triggering the sync