airbnb / knowledge-repo

A next-generation curated knowledge sharing platform for data scientists and other technical professions.
Apache License 2.0
5.47k stars 688 forks source link

Set up mail client for approvals #674

Open Amanotas20 opened 2 years ago

Amanotas20 commented 2 years ago

Hi!

I would like to know how to set up the mail client to send posts approval requests and also block the publish option while the post is in review state. has anyone done this so far?

Thanks

JJJ000 commented 2 years ago

Unfortunately, these features have not been completed so far. If your knowledge repo is git repo based, you can use PR review process to setup mail notification and block post in review state.

JJJ000 commented 2 years ago

Is it an urgent to you? We can plan it out or collaborate potentially.

csharplus commented 1 year ago

@Amanotas20 please reference the following PR, which uses SendGrid as an example for setting up an email client:

https://github.com/airbnb/knowledge-repo/pull/696 https://github.com/airbnb/knowledge-repo/pull/718

You need to add the email configurations to enable email related features in the following file:

https://github.com/airbnb/knowledge-repo/blob/master/knowledge_repo/app/config_defaults.py

Please see if this feature works for you.