hcengineering / hcengineering/huly-selfhost
Allow aibot email to be changed
- Dominant language
- Shell
- Stars
- 3.5k
- Forks
- 469
- PR merge metrics
- No merged PRs in 30d
Description
Right now, the used email is hardcoded in the `bundle.js`:
```js
var aiBotId = "ai-bot";
var aiBotAccountEmail2 = "huly.ai.bot@hc.engineering";
var aiBotEmailSocialKey3 = (0, import_core58.buildSocialIdString)({
type: import_core58.SocialIdType.EMAIL,
value: aiBotAccountEmail2
});
```
I would expect this email to be configurable via environment variables, similar to the first and last name.
Changing the line "aiBotAccountEmail2" in the `bundle.js` inside the docker container manually solves this, but this is not a good solution.
The hardcoded Email leads to the system sending emails to the hardcoded address "huly.ai.bot@hc.engineering", especially when one pings the bot or writes a PM to the bot whilst offline.
Sadly I did not find a repository for the AIBot, or I would have provided a PR for this.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.